Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > strange layout issue

Reply
Thread Tools

strange layout issue

 
 
Paul Watt
Guest
Posts: n/a
 
      04-18-2006
Hi,
I've got a problem with a layout issue in FF. In IE everything displays
properly but in FF there's gaps in the layout and it driving me mental. i've
set margins and padding to 0 on everything.
the url is http://www.simongogerly.com/test/

Cheers

--

Paul Watt
http://www.paulwatt.info


 
Reply With Quote
 
 
 
 
Martin Jay
Guest
Posts: n/a
 
      04-18-2006
In message <>, Paul Watt
<> writes

>I've got a problem with a layout issue in FF. In IE everything displays
>properly but in FF there's gaps in the layout and it driving me mental. i've
>set margins and padding to 0 on everything.
>the url is http://www.simongogerly.com/test/


Add this to your CSS:

img{
display: block;
}

BTW, the text is a bit difficult to read on the background. I'm not
keen on the scroll bar.

And it breaks in IE5(.5), but I think I'm the only person who worries
about that now.
--
Martin Jay
 
Reply With Quote
 
 
 
 
Neredbojias
Guest
Posts: n/a
 
      04-18-2006
To further the education of mankind, "Paul Watt"
<> vouchsafed:

> Hi,
> I've got a problem with a layout issue in FF. In IE everything
> displays properly but in FF there's gaps in the layout and it driving
> me mental. i've set margins and padding to 0 on everything.
> the url is http://www.simongogerly.com/test/


Add line-height:0px; to the .top, .left, and .right css classes.

--
Neredbojias
Infinity can have limits.
 
Reply With Quote
 
JDS
Guest
Posts: n/a
 
      04-18-2006
On Tue, 18 Apr 2006 14:02:42 +0100, Paul Watt wrote:

> the url is http://www.simongogerly.com/test/


Woah! Holy eye strain, batman. I guess the "problem" as you see it is
not the incredibly difficult-to-read choice of background image or white
text, huh? Plus, it's all in Latin[1]. No one speaks Latin so much
anymore, just thought you'd like to know.





[1]Joke. I've heard of "lorem ipsum". But I've always maintained that
jokes are funnier when they are explained, so consider this the
explanation.

--
JDS | lid
| http://www.newtnotes.com
DJMBS | http://newtnotes.com/doctor-jeff-master-brainsurgeon/

 
Reply With Quote
 
Jose
Guest
Posts: n/a
 
      04-18-2006
> I've got a problem with a layout issue in FF. In IE everything displays
> properly but in FF there's gaps in the layout and it driving me mental. i've
> set margins and padding to 0 on everything.
> the url is http://www.simongogerly.com/test/


Why such a rigid layout? When I expand to the full screen (1600x1200)
screen, there is just a small window for your picture, and an even
smaller window for the text therein, requiring internal scrolling which
I shouldn't need if the subwindow would just expand with the main window.

When I shrink it down (to 640x480 or so) so that I can do other work at
the same time, I need to scroll horizontally back and forth to read the
text, =and= I have to scroll vertically in my =browser= to reach the
bottom of the site, =AND= I have to scroll horizontally to reach the
internal scrollbar which I =ALSO= have to use to scroll the =text=.

And the text is hard to read against the busy background picture.

Jose
--
The price of freedom is... well... freedom.
for Email, make the obvious change in the address.
 
Reply With Quote
 
Jim Moe
Guest
Posts: n/a
 
      04-18-2006
Paul Watt wrote:
>
> I've got a problem with a layout issue in FF. In IE everything displays
> properly but in FF there's gaps in the layout and it driving me mental. i've
> set margins and padding to 0 on everything.
> the url is http://www.simongogerly.com/test/
>

This persists as one of the darkest secrets of CSS.
<img> is an inline object that is treated like text so there is bottom
space allowed for a descender. This makes sense when there is text around
an image.
To remove the bottom space:
img { vertical-align: bottom; }

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
 
Reply With Quote
 
Neredbojias
Guest
Posts: n/a
 
      04-18-2006
To further the education of mankind, Jim Moe
<jmm-> vouchsafed:

> Paul Watt wrote:
>>
>> I've got a problem with a layout issue in FF. In IE everything
>> displays properly but in FF there's gaps in the layout and it driving
>> me mental. i've set margins and padding to 0 on everything.
>> the url is http://www.simongogerly.com/test/
>>

> This persists as one of the darkest secrets of CSS.
> <img> is an inline object that is treated like text so there is
> bottom
> space allowed for a descender. This makes sense when there is text
> around an image.
> To remove the bottom space:
> img { vertical-align: bottom; }


Yeah, I thought so. Unfortunately, I tried "vertical-align:baseline;"
instead of ...bottom. Duh!

--
Neredbojias
Infinity can have limits.
 
Reply With Quote
 
Jim Moe
Guest
Posts: n/a
 
      04-18-2006
Neredbojias wrote:
>> To remove the bottom space:
>> img { vertical-align: bottom; }

>
> Yeah, I thought so. Unfortunately, I tried "vertical-align:baseline;"
> instead of ...bottom.
>

Hah! Baseline is the default value.

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
 
Reply With Quote
 
Brian O'Connor
Guest
Posts: n/a
 
      04-19-2006
Jokes ARE funnier when they're explained. You're a comedy genius! (That
came out sarcy. It's not.)

"JDS" <> wrote in message
news d...
> On Tue, 18 Apr 2006 14:02:42 +0100, Paul Watt wrote:
>
>> the url is http://www.simongogerly.com/test/

>
> Woah! Holy eye strain, batman. I guess the "problem" as you see it is
> not the incredibly difficult-to-read choice of background image or white
> text, huh? Plus, it's all in Latin[1]. No one speaks Latin so much
> anymore, just thought you'd like to know.
>
>
>
>
>
> [1]Joke. I've heard of "lorem ipsum". But I've always maintained that
> jokes are funnier when they are explained, so consider this the
> explanation.
>
> --
> JDS | lid
> | http://www.newtnotes.com
> DJMBS | http://newtnotes.com/doctor-jeff-master-brainsurgeon/
>



 
Reply With Quote
 
Neredbojias
Guest
Posts: n/a
 
      04-19-2006
To further the education of mankind, Jim Moe <jmm-list.AXSPAMGN@sohnen-
moe.com> vouchsafed:

> Neredbojias wrote:
>>> To remove the bottom space:
>>> img { vertical-align: bottom; }

>>
>> Yeah, I thought so. Unfortunately, I tried "vertical-align:baseline;"
>> instead of ...bottom.
>>

> Hah! Baseline is the default value.


Yep. A brain-fart, pure and simple.

--
Neredbojias
Infinity can have limits.
 
Reply With Quote
 
 
 
Reply

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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Choosing Layout: Css-Layout or Table-Layout hpourfard@gmail.com ASP .Net 1 06-19-2006 10:06 AM
CSS Layout question - how to duplicate a table layout with CSS Eric ASP .Net 4 12-24-2004 04:54 PM
Oppinion regarding grid layout vs flow layout NWx ASP .Net 4 02-19-2004 08:56 PM
Converting from grid layout to flow layout. RobertH ASP .Net 1 11-04-2003 12:43 AM
DataList inside a Grid Layout Panel (<DIV>) item layout problem Rick Spiewak ASP .Net 3 08-26-2003 04:22 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57