Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 20th, 2005, 05:28 PM
Zak McGregor
Guest
 
Posts: n/a
Default Alignment issue

Hi all

Please look at http://www.carfolio.com/newlook.dhtml and try and help me
understand why the form elements in the navigation bar does no want to
align themselves vertically with the other elements in the navigation bar.
I'm not sure why it should be displayed this way, and would really
appreciate any pointers please. The left border is also missing - it
looks like the right edge of the anchor element to the left of it might
be overlapping it, but again what is causing that?

The page does validate, as does the css.

And yes, I have caved in on the links as inline <li> elements ;-)

Thanks everyone.

Ciao

Zak

--
================================================== ======================
http://www.carfolio.com/ Searchable database of 10 000+ car specs
Auctioning motoring-related items at eBay? http://www.carfolio.com/ebay/
================================================== ======================
  #2  
Old July 20th, 2005, 05:28 PM
Mark Parnell
Guest
 
Posts: n/a
Default Re: Alignment issue

Sometime around Tue, 04 Nov 2003 01:11:38 +0200, Zak McGregor is reported
to have stated:
[color=blue]
> Hi all
>
> Please look at http://www.carfolio.com/newlook.dhtml and try and help me
> understand why the form elements in the navigation bar does no want to
> align themselves vertically with the other elements in the navigation bar.[/color]

My guess would have been that it is due to the default padding/margin on
the form - but you have already set them both to 0 in your CSS, so not sure
about that one.
[color=blue]
> I'm not sure why it should be displayed this way, and would really
> appreciate any pointers please. The left border is also missing - it
> looks like the right edge of the anchor element to the left of it might
> be overlapping it, but again what is causing that?[/color]

You have defined the left border on the fieldset, then defined border: none
on it further down (both in newstyles.css). There seem to be a number of
cases like this - e.g. you have defined margin: 3px; then margin: 0; in the
form rule and the fieldset rule.
[color=blue]
>
> The page does validate, as does the css.[/color]

No it doesn't. :-D

--
Mark Parnell
http://www.clarkecomputers.com.au
  #3  
Old July 20th, 2005, 05:28 PM
Zak McGregor
Guest
 
Posts: n/a
Default Re: Alignment issue

On Tue, 04 Nov 2003 01:28:59 +0200, Mark Parnell <"Mark Parnell"
<webmaster@clarkecomputers.com.au>> wrote:
[color=blue]
> Sometime around Tue, 04 Nov 2003 01:11:38 +0200, Zak McGregor is
> reported to have stated:[/color]

[snip]
[color=blue][color=green]
>> I'm not sure why it should be displayed this way, and would really
>> appreciate any pointers please. The left border is also missing - it
>> looks like the right edge of the anchor element to the left of it might
>> be overlapping it, but again what is causing that?[/color]
>
> You have defined the left border on the fieldset, then defined border:
> none on it further down (both in newstyles.css). There seem to be a
> number of cases like this - e.g. you have defined margin: 3px; then
> margin: 0; in the form rule and the fieldset rule.[/color]

Yes, I got desperate & started pasting margins & padding of 0
everywhere...
[color=blue][color=green]
>> The page does validate, as does the css.[/color]
>
> No it doesn't. :-D[/color]

Oops. Server-side cache got an older version at that url. Here's the
cached latest version, sorry:
http://www.carfolio.com/newlook.dhtml?asd

Now *that* certainly validates... ;-)

Ciao

Zak



--
================================================== ======================
http://www.carfolio.com/ Searchable database of 10 000+ car specs
Auctioning motoring-related items at eBay? http://www.carfolio.com/ebay/
================================================== ======================
  #4  
Old July 20th, 2005, 05:28 PM
Mark Parnell
Guest
 
Posts: n/a
Default Re: Alignment issue

Sometime around Tue, 04 Nov 2003 01:44:38 +0200, Zak McGregor is reported
to have stated:
[color=blue]
> On Tue, 04 Nov 2003 01:28:59 +0200, Mark Parnell <"Mark Parnell"
> <webmaster@clarkecomputers.com.au>> wrote:
>[color=green]
>> number of cases like this - e.g. you have defined margin: 3px; then
>> margin: 0; in the form rule and the fieldset rule.[/color]
>
> Yes, I got desperate & started pasting margins & padding of 0
> everywhere...
>[/color]

Doesn't seem to have helped you much, though. Not sure why the form isn't
lining up for you.
[color=blue]
> http://www.carfolio.com/newlook.dhtml?asd
>
> Now *that* certainly validates... ;-)[/color]

That it does. :-)

--
Mark Parnell
http://www.clarkecomputers.com.au
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles