I have a topper #namebar and a leftnav. They both have a left margin
of 1.3em, but they don't line up on the left. I would like to know
why . . .
http://njlada.com/sandbox/
--
this message was sent by
Kimi Wei
201.475.1854
http://thewei.com
On May 31, 2008, at 5:37 PM, Kim Brooks Wei wrote:
I have a topper #namebar and a leftnav. They both have a left margin
of 1.3em, but they don't line up on the left. I would like to know
why . . .
http://njlada.com/sandbox/
#namebar has a font-size of 1.2em (ends up computing to 17px on my
hello everyone, I have come across a few sites that have
code: background:transparent url(/img/filename.gif)
What is the transparent element for?
--
Rob Freeman
[EMAIL PROTECTED]
__
css-discuss [EMAIL PROTECTED]
Kim Brooks Wei wrote:
I have a topper #namebar and a leftnav. They both have a left margin
of 1.3em, but they don't line up on the left. I would like to know
why . . .
http://njlada.com/sandbox/
As Philippe said.
So, to make the elements line up where you want them to on the left,
while
Rob freeman wrote:
hello everyone, I have come across a few sites that have code:
background:transparent url(/img/filename.gif)
What is the transparent element for?
The 'background' property is short for both 'background-color' and
'background-image', so such a declaration says s/he wants a
but why declare this? isnt this set as a default..
2008/5/31 Gunlaug Sørtun [EMAIL PROTECTED]:
Rob freeman wrote:
hello everyone, I have come across a few sites that have code:
background:transparent url(/img/filename.gif)
What is the transparent element for?
The 'background' property is
Rob freeman wrote:
but why declare this? isnt this set as a default..
Yes, it is - or at least should be. No harm in spelling it out though,
and I do so routinely.
In some cases a set of stylesheets includes reset styles that contain
colored background, and other times certain elements are
Can anyone spot what I'm doing wrong here:
http://www.peredur.uklinux.net/PlaceForWords/case-studies.html
It renders exactly how I want it to in Opera and Konqueror. It's OK in
IE6 - a bit odd, but acceptable. It's all over the place in FireFox,
which seems to push some of the paragraphs
Peter Bradley wrote:
Can anyone spot what I'm doing wrong here:
http://www.peredur.uklinux.net/PlaceForWords/case-studies.html
It renders exactly how I want it to in Opera and Konqueror. It's OK in
IE6 - a bit odd, but acceptable. It's all over the place in FireFox,
which seems to push
Peter Bradley wrote:
http://www.peredur.uklinux.net/PlaceForWords/case-studies.html
This is the first time I've ever come across something that's OK in
Opera and Konq, but not in FF, so I'm sure I'm just missing something
blindingly obvious.
All browsers at my end show the same.
If you
Peter Bradley wrote:
http://www.peredur.uklinux.net/PlaceForWords/case-studies.html
This is the first time I've ever come across something that's OK in
Opera and Konq, but not in FF, so I'm sure I'm just missing something
blindingly obvious.
All browsers at my end show the same.
I
Ysgrifennodd Gunlaug Sørtun:
snip /
All browsers at my end show the same.
If you want the paragraph-text to line up with the image, you'll have to
zero out the top margin, like so...
#content p.thumbnaillist {
font-size: 90%;
margin-top: 0;
}
...(pay attention to the added
Ysgrifennodd Del Wegener:
I checked it in FF and it looks fine. However, in IE7, the Menu/links
on the left are all messed up.
The boxes are quite narrow (they appear to be the right length) so
the words do not fit inside, as you move down the menu the boxes are
all presented before the
Peter Bradley wrote:
I don't understand why the added specificity was needed, though.
Could you explain that to me, please?
Necessary in order to override the paragraph-styles you have higher up
in the stylesheet...
#content p {
margin : 20px 30px 20px 0;
}
Georg
--
Ysgrifennodd Gunlaug Sørtun:
#content p {
margin : 20px 30px 20px 0;
}
Georg
D'oh.
I forgot. IDs count more than classes, don't they.
Half a day of my life wasted for forgetting that!
Thanks a million Georg.
Peter
Peter Bradley wrote:
I forgot. IDs count more than classes, don't they.
Yes, and specificity gets strengthen by adding parents/grandparents to
the selector-chain.
You can go all the way back to the root (html) if necessary, and add
even more specificity and fine-tune targeting by including
Ysgrifennodd Del Wegener:
I rechecked both FF and IE7 and they are now fine. Good looking page.
Del
Better looking now, thanks to you and the others!
:)
Many thanks.
Peter
__
css-discuss [EMAIL PROTECTED]
17 matches
Mail list logo