|
Posted by Denny Schierz on September 10, 2004, 3:30 pm
Please log in for more thread options
hi,
i have a logical error in my css file, but i don't no where.
have a look:
http://lippelt-back.com/fileadmin/template/css/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/template/images/balken-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
|
|
Posted by Els on September 10, 2004, 1:32 pm
Please log in for more thread options
Denny Schierz wrote:
> have a look:
>
> http://lippelt-back.com/fileadmin/template/css/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
|
|
Posted by Mark Tranchant on September 10, 2004, 3:56 pm
Please log in for more thread options 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/
|
|
Posted by Neal on September 10, 2004, 12:37 pm
Please log in for more thread options On Fri, 10 Sep 2004 14:56:14 +0100, Mark Tranchant
> 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.
|
| Similar Threads | Posted | | IE6 -> searching for padding or margin, i don't find it | September 29, 2004, 6:40 pm |
| Searching simple (!) web server which allows WAP/WML MIME pages | August 5, 2006, 1:45 pm |
| Searching HTML+CGI source for generating KO tournament management | June 28, 2007, 7:20 am |
| Can searching be customized -- To focus search-results & find up-to-date content? | August 1, 2006, 9:50 pm |
| Searching perl script which calls web page and forwards to me / displays with adjusted URLs | January 4, 2005, 9:40 pm |
| Searching for HTML Editor/Tool with integrated file/project-management features | August 8, 2006, 4:16 pm |
| submit your complete resume freshers jobs :: MNC companies searching for resumes everyday | September 11, 2006, 3:58 pm |
| W3C validator error isn't really an error? | September 13, 2005, 1:21 am |
| Error on page - why? | July 26, 2004, 8:25 am |
| error accessing iis | February 17, 2005, 7:08 pm |
|