[css-d] DIVs referring to each other, and absolute positioning

2011-08-14 Thread Keith Purtell
I've removed most of the ugly blankness of my splash page, but two technical problems remain. 1-The horizontal positioning of the navigation and the text/pic content only work on a 1024x768 screen. I set the first at 25 percent width and the second at 75 percent width thinking they would adapt to

Re: [css-d] Is there a way of styling anchor tags within the body?

2011-08-14 Thread Jukka K. Korpela
14.8.2011 23:38, Geoff Lane wrote: On Sunday, August 14, 2011, 8:53:58 PM, Jukka K. Korpela wrote: For some time I've been under the impression that you could only use... in the head. The impression is correct as far as HTML specifications are considered. However, browsers generally imple

[css-d] Floating content problem

2011-08-14 Thread Kashif Sami
Hi everyone. As always, I'm stuck and hope someone at CSS-D would come to rescue. In this page - http://kraymark.com/clients-demo/coffee/ , the image to the right of the coffee (Coffee Grounds) needs to stay in one position on different screen sizes. If you zoom in or out, you can see what I mean

Re: [css-d] Is there a way of styling anchor tags within the body?

2011-08-14 Thread Geoff Lane
On Sunday, August 14, 2011, 11:40:20 PM, John D wrote: > You could also use inline styles so that the code looks something like this: > > > Hope you get the idea. --- Thanks. Unfortunately, I need the anchors arranged in one horizontal line, so divs won't work. I did try spans, but the only

Re: [css-d] Is there a way of styling anchor tags within the body?

2011-08-14 Thread John D
> However, I ran the result through the W3C validator, and it took a > dislike to the style block, complaining that the 'scoped' attribute > was mandatory. When I added the missing attribute, it warned that > browsers don't yet support it and that I'd be better off waiting for > browser suppor

Re: [css-d] Is there a way of styling anchor tags within the body?

2011-08-14 Thread Geoff Lane
On Sunday, August 14, 2011, 8:53:58 PM, Jukka K. Korpela wrote: >> For some time I've been under the impression that you could >> only use ... in the head. > The impression is correct as far as HTML specifications are considered. > However, browsers generally implement style elements in body, t

Re: [css-d] Is there a way of styling anchor tags within the body?

2011-08-14 Thread Jukka K. Korpela
14.8.2011 21:54, Geoff Lane wrote: For some time I've been under the impression that you could only use ... in the head. The impression is correct as far as HTML specifications are considered. However, browsers generally implement style elements in body, too. -- Yucca, http://www.cs.tut.fi

Re: [css-d] Is there a way of styling anchor tags within the body?

2011-08-14 Thread Geoff Lane
On Sunday, August 14, 2011, 7:54:29 PM, Geoff Lane wrote: > On Sunday, August 14, 2011, 6:23:01 PM, Ghodmode wrote: >> I think you can use a block in the body. > --- > Thanks. For some time I've been under the impression that you could > only use ... in the head. However, I'll give that a try >

Re: [css-d] Is there a way of styling anchor tags within the body?

2011-08-14 Thread Geoff Lane
On Sunday, August 14, 2011, 6:23:01 PM, Ghodmode wrote: > I think you can use a block in the body. --- Thanks. For some time I've been under the impression that you could only use ... in the head. However, I'll give that a try and report back whether it works. To be honest, it's the :hover , :a

Re: [css-d] Is there a way of styling anchor tags within the body?

2011-08-14 Thread Ghodmode
On Mon, Aug 15, 2011 at 12:34 AM, Geoff Lane wrote: > > Hi All, > My son has just asked for my help. Part of this needs me to style a > set of anchor tags to give fixed width and also 'mouseover' effect. > Unfortunately, this is to be incorporated in someone else's web page > and we don't have acc

[css-d] Is there a way of styling anchor tags within the body?

2011-08-14 Thread Geoff Lane
Hi All, My son has just asked for my help. Part of this needs me to style a set of anchor tags to give fixed width and also 'mouseover' effect. Unfortunately, this is to be incorporated in someone else's web page and we don't have access to the head (and so can't link a stylesheet there or embed a

Re: [css-d] Image need to center in right side of page, in div sidebar

2011-08-14 Thread David Laakso
On 8/14/11 9:06 AM, Brian wrote: Hi, I would like the GoDaddy.com Verification Image Link upper right of page to center within the right sidebar. Thank You. Brian Link: http://merrimacknhweather.com/ Style Page: http://merrimacknhweather.com/style.css Try: .godadcenter { alignment-adjust:

Re: [css-d] Image need to center in right side of page, in div sidebar

2011-08-14 Thread Chetan Crasta
The div that contains the image as a background should be given 100% width and this declaration should be added background-position: center 0; By the way, your code is non-semantic and difficult to maintain. I suggest reading this article: http://boagworld.com/technology/semantic-code-what-why-how

[css-d] Image need to center in right side of page, in div sidebar

2011-08-14 Thread Brian
Hi, I would like the GoDaddy.com Verification Image Link upper right of page to center within the right sidebar.  Thank You. Brian Link: http://merrimacknhweather.com/ Style Page: http://merrimacknhweather.com/style.css __ css-d