Forum FAQForum FAQSearchSearch MemberlistMemberlist Forum ignore listForum ignore list RegisterRegister ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in
IE i p:first-letter

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Client-side
View previous topic :: View next topic  
Author Message
budha



Joined: 02 Mar 2004
Posts: 1377
Location: Osijek

PostPosted: 18.05.2005 15:49    Post subject: IE i p:first-letter Add user to your forum ignore list Reply with quote

ima li nacina da se IE "natjera" da prikazuje ovo?
Code:
p:first-letter { padding-left: 10px; }

_________________
I hate to advocate drugs, alcohol, violence, or insanity to anyone, but they've always worked for me.
Back to top
View user's profile Send private message Visit poster's website
red



Joined: 03 May 2004
Posts: 919
Location: Zabok

PostPosted: 18.05.2005 15:55    Post subject: Add user to your forum ignore list Reply with quote

To bi trebalo bez frke radit, čak i na IE 5.5/Win. Ja probo na IE 6/Win, works fine.

_________________
Get busy living, or get busy dying.
Back to top
View user's profile Send private message Visit poster's website Twitter profile
budha



Joined: 02 Mar 2004
Posts: 1377
Location: Osijek

PostPosted: 18.05.2005 16:07    Post subject: Add user to your forum ignore list Reply with quote

Shocked
meni radi npr
Code:
#main p:first-letter { color: f00; }

ali padding neće...

jel vidi tko gresku?

Code:
HTML
---------------------------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="hr" lang="hr">
<head>
<title>test</title>
<link href="style.css" rel="stylesheet" type="text/css" media="screen" />
</head>

<body>
<div id="main">
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit Praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.</p>
</div>
</body>
</html>

CSS
---------------------------------------------
#main p { text-align: justify; padding-bottom: 10px; padding-top: 10px; }
#main p:first-letter { padding-left: 10px; }

_________________
I hate to advocate drugs, alcohol, violence, or insanity to anyone, but they've always worked for me.
Back to top
View user's profile Send private message Visit poster's website
red



Joined: 03 May 2004
Posts: 919
Location: Zabok

PostPosted: 18.05.2005 16:09    Post subject: Add user to your forum ignore list Reply with quote

It works just fine here... Jesi pastirao točan kôd? Confused

_________________
Get busy living, or get busy dying.
Back to top
View user's profile Send private message Visit poster's website Twitter profile
budha



Joined: 02 Mar 2004
Posts: 1377
Location: Osijek

PostPosted: 18.05.2005 17:07    Post subject: Add user to your forum ignore list Reply with quote

aha

odustajem...

_________________
I hate to advocate drugs, alcohol, violence, or insanity to anyone, but they've always worked for me.
Back to top
View user's profile Send private message Visit poster's website
red



Joined: 03 May 2004
Posts: 919
Location: Zabok

PostPosted: 18.05.2005 17:17    Post subject: Add user to your forum ignore list Reply with quote

Ne znam di bi mogo problem bit... Evo ti kaj čika PPK veli o tome: http://www.quirksmode.org/css/firstline.html

_________________
Get busy living, or get busy dying.
Back to top
View user's profile Send private message Visit poster's website Twitter profile
budha



Joined: 02 Mar 2004
Posts: 1377
Location: Osijek

PostPosted: 19.05.2005 10:00    Post subject: Add user to your forum ignore list Reply with quote

koliko sam uspio testirati, definicije boje i velicine fonta rade bez problema... p:first-letter i p:first-line nece raditi ako se p nalazi u div-u

bzveze...

_________________
I hate to advocate drugs, alcohol, violence, or insanity to anyone, but they've always worked for me.
Back to top
View user's profile Send private message Visit poster's website
red



Joined: 03 May 2004
Posts: 919
Location: Zabok

PostPosted: 19.05.2005 10:26    Post subject: Add user to your forum ignore list Reply with quote

Ja sam se s tim zezao kad sam radio svoj sajt... Imao sam problema jedino sa :hover stanjem kad sam definirao :first-letter. Tvoj kôd sam bio pastirao u http://www.webucator.com/resources/css/reference.html i nije bilo problema.

_________________
Get busy living, or get busy dying.
Back to top
View user's profile Send private message Visit poster's website Twitter profile
budha



Joined: 02 Mar 2004
Posts: 1377
Location: Osijek

PostPosted: 19.05.2005 10:46    Post subject: Add user to your forum ignore list Reply with quote

ne mogu vjerovat!!!
*ebalo ga je sto imam
Code:
* { margin: 0; padding: 0; }
na pocetku!!!
d'oh!

thx, red!

_________________
I hate to advocate drugs, alcohol, violence, or insanity to anyone, but they've always worked for me.
Back to top
View user's profile Send private message Visit poster's website
red



Joined: 03 May 2004
Posts: 919
Location: Zabok

PostPosted: 19.05.2005 10:58    Post subject: Add user to your forum ignore list Reply with quote

Hehe... though so... a pito sam jel si pastirao sve Laughing

I'm glad it works now Smile cheerio!

_________________
Get busy living, or get busy dying.
Back to top
View user's profile Send private message Visit poster's website Twitter profile
budha



Joined: 02 Mar 2004
Posts: 1377
Location: Osijek

PostPosted: 19.05.2005 11:00    Post subject: Add user to your forum ignore list Reply with quote

ma inace su i css i htm oooooogromni.... pa mi bzveze bilo pastati sve... Smile

_________________
I hate to advocate drugs, alcohol, violence, or insanity to anyone, but they've always worked for me.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Client-side All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group