469,306 Members | 2,504 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,306 developers. It's quick & easy.

searching for logical error in CSS

hi,

i have a logical error in my css file, but i don't no where.

have a look:

http://lippelt-back.com/fileadmin/te...s/new-body.css

i comment this lines:

/*
span.rootline {left: 8pt; font-family: font-family:Arial, Helvetica,
sans-serif;}
span.rootline a:link{color:#000000;font-size:8pt;
text-decoration:underline;}
span.rootline a:visited{color:#000000;font-size:8pt;
text-decoration:underline;}
span.rootline a:hover{;color:#FF0000;font-size:8pt;
text-decoration:overline underline;}
span.rootline a:active{color:#000000;font-size:8pt;
text-decoration:underline;}

*/

because, they don't work. I have a rootline in my <div> "top", and with
some css commands. The span "rootline" is in the div "top".

#top {
padding-left : .5em;
padding-right : .5em;
padding-bottom: .5em;
border-bottom : 1px solid #808080;
height: 10px;
background-image:
url(http://musik4life.de/fileadmin/templ...-lippelt.jpg);
background-repeat: repeat-y;
margin-right: 5px;
font-size: 8pt;
}

I want to controll the font and color only in my span "rootline". The
page is: http://www.lippelt-back.com/Mini_Rustica.53.0.html.

What i did wrong?

cu denny
Jul 23 '05 #1
3 1520
Els
Denny Schierz wrote:
have a look:

http://lippelt-back.com/fileadmin/te...s/new-body.css

span.rootline a:link{color:#000000;font-size:8pt;
text-decoration:underline;} I want to controll the font and color only in my span
"rootline". The page is:
http://www.lippelt-back.com/Mini_Rustica.53.0.html.

What i did wrong?


You don't have a span with class rootline in your html.

You don't have any span in your html to be precise.

You want a.rootline:link instead of span.rootline a:link
etc.
--
Els http://locusmeus.com/
Sonhos vem. Sonhos vo. O resto imperfeito.
- Renato Russo -
Now playing: Jackson Brown - Load Out/Stay
Jul 23 '05 #2
Denny Schierz wrote:
span.rootline {left: 8pt; font-family: font-family:Arial, Helvetica,
sans-serif;}


In addition to Els' comment, note the double font-family in the line above.

Also, 8pt fonts? Why are you sizing 1) in pt, which is an absolute
physical size and makes little sense on screen and 2) so small?

Mmmm.... bakery products!

--
Mark.
http://tranchant.plus.com/
Jul 23 '05 #3
On Fri, 10 Sep 2004 14:56:14 +0100, Mark Tranchant
<ma**@tranchant.plus.com> wrote:
8pt fonts? Why are you sizing 1) in pt, which is an absolute physical
size and makes little sense on screen and 2) so small?


"Gee, it looks fine on my computer"

"Your website is supposed to look good on other people's computers not
yours"

"Won't it look the same>"

"No"

"Ok, sorry, I'll change them to points then"

"thump thump thump"

Figured I just saved about 7 posts in this thread. Carry on.

OP - use % and only % as the unit for font-size, with 100% being the
"normal" text size on the page. You want to know why, read the ng
archives. It's sound advice, and it'll change how you design for the web
for the better.
Jul 23 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

14 posts views Thread by Walter Dnes (delete the 'z' to get my real address | last post: by
reply views Thread by Roald | last post: by
8 posts views Thread by zfareed | last post: by
11 posts views Thread by Dominic Vella | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by harlem98 | last post: by
1 post views Thread by Geralt96 | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.