![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| ||||
| ||||
|
|
First of all Hello all you css freak. geeks and gurus. |
|
I just started using css for some web pages I had to do at work and I'im testing some stuff at home to understand more. Now, I wanted to understand better of how cascading works. in my .css file I created this tr#noLine{ border-top-width:0; border-left-width:0; border-bottom-width:0; border-right-width:0; border-style:none;} |
|
tr#topLine{ border-color:black; border-top-width:3px; border-bottom-width:0; border-left-width:0; border-right-width:0; border-top-style:solid;} |
|
#noLine td#titles{ font-weight:bold; text-align:left;} #topLine td#totalTitles{ font-weight:bold; text-align:left;} Now, in my html file, yes the link worked no trouble, but when I put this in my test html code table align=center tr id=noLine td id=totalTitles>Total Titles with noLine id in tr</td /tr /table table align=center tr id=topLine td id=totalTitles>Total Titles with topLine id in tr</td /tr /table I don't get a topLine for the second table, so what am I doing wrong, or better yet what I didn't understand |
#3
| ||||||
| ||||||
|
|
First of all Hello all you css freak. geeks and gurus. I just started using css for some web pages I had to do at work and I'im testing some stuff at home to understand more. Now, I wanted to understand better of how cascading works. in my .css file I created this tr#noLine{ border-top-width:0; border-left-width:0; border-bottom-width:0; border-right-width:0; border-style:none;} |
|
#noLine td#titles{ font-weight:bold; text-align:left;} #topLine td#totalTitles{ font-weight:bold; text-align:left;} |
|
Now, in my html file, yes the link worked no trouble, but when I put this in my test html code table align=center |
|
td id=totalTitles>Total Titles with noLine id in tr</td td id=totalTitles>Total Titles with topLine id in tr</td |
|
--- Outgoing mail is certified Virus Free. |
|
weblog | http://home.wanadoo.nl/b.de.zoete/_private/weblog.html | webontwerp | http://home.wanadoo.nl/b.de.zoete/html/webontwerp.html | zweefvliegen | http://home.wanadoo.nl/b.de.zoete/html/vliegen.html | `-------------------------------------------------- --<--@ ------------' |
#4
| |||
| |||
|
|
On Sat, 15 Jan 2005 00:05:25 -0500, CheGueVerra chegueverra (AT) hotmail (DOT) com> wrote: First of all Hello all you css freak. geeks and gurus. I just started using css for some web pages I had to do at work and I'im testing some stuff at home to understand more. Now, I wanted to understand better of how cascading works. in my .css file I created this |
#5
| |||
| |||
|
#6
| |||
| |||
|
|
[Mozilla rendering incorrect while IE is Correct thread] You've gotten very good responses, so I'll simply state this rule of thumb: whenever IE does something different than Mozilla or Opera regarding CSS, there's a very high probability - close to certainty - that IE is the one that's wrong. |
#7
| |||
| |||
|
|
I have started slowly to create a css file with classes instead of Ids, I carefully read your response and have put it in my archives for later references, now I want to address a different problem, How do I arrange code that works in Mozilla or Opera and not in IE, I have read in some other post that: [Mozilla rendering incorrect while IE is Correct thread] You've gotten very good responses, so I'll simply state this rule of thumb: whenever IE does something different than Mozilla or Opera regarding CSS, there's a very high probability - close to certainty - that IE is the one that's wrong. While I agree with that principle, it does not explain what I have to do to get the same results in the different UA. tr td class="underLinedTitles">Date</td td class="underLinedTitles">Prenom</td td class="underLinedTitles">Nom</td td class="underLinedTitles">Phone</td td class="underLinedTitles">Balance</td /tr |
|
This doesnèt produce the same result in IE and Moz, so what to do ..... |
#8
| |||
| |||
|
|
...How do I arrange code that works in Mozilla or Opera and not in IE... |
![]() |
| Thread Tools | |
| Display Modes | |
| |