472,102 Members | 2,115 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,102 software developers and data experts.

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 1627
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 vão. 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

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.