473,387 Members | 1,700 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 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 1803
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Hari Om | last post by:
Here are the details of my error log files: I execute the command and get following message at console: ---------------------------------------------------------------------- ../sqlldr...
14
by: Walter Dnes (delete the 'z' to get my real address | last post by:
I took a C course some time ago, but I'm only now beginning to use it, for a personal pet project. My current stumbling-block is finding an efficient way to find a match between the beginning of a...
5
by: Dan | last post by:
I wonder if anyone has suggestions for reducing the amount of time it would take to search my array using the function that I have written. I want to find a position in the array of an item that...
0
by: Roald | last post by:
I am working on an application that needs to implement logical deletes instead of removing the records permanently. The logical delete works by setting 3 fields (deleted flag, date and user). I...
14
by: blueboy | last post by:
Hi, I am planning to automate a nighty restore of a DB on another server can someone point me in the right direction with the SQL script to modify the logical file names to the correct path and...
4
by: Hunk | last post by:
Hi I have a binary file which contains records sorted by Identifiers which are strings. The Identifiers are stored in ascending order. I would have to write a routine to give the record given...
8
by: zfareed | last post by:
I have this function that searches a link list before main performs the insert function to insert an item. My problem is the pointer stuff and the program keeps crashing. <code> List::List() {...
11
by: Dominic Vella | last post by:
I am using MS-Access2000. I can't seem to set the default values for Logical type fields. I start with Dim dbsTmp As Object ' I think it's DAO.Database Set dbsTmp =...
7
by: raylopez99 | last post by:
I have a logical drawing space much bigger than the viewport (the screen) and I'd like to center the viewport (the screen) to be at the center of the logical drawing space. After following the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.