Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
dwebber #1
IE 6 width issues?
I know about the IE 5x width issues, but I thought that was taken care of in
6x? My #leftcol is dropping down as if I've run out of room. I've tried
different positioning and none of that seems to changes (in IE). Everything
looks fine in FF & Opera
[url]www.acswebdev.net[/url]
[url]www.acswebdev.net/styles/hatranchstyles.css[/url]
thanks,
Denise
dwebber Guest
-
I know we can set max image width, but I need to set itby region. Region A has one max width; Region B another.
We can already set a maximum image width for use globally, throughout every page. Can we do it by region? This way one region can have a max... -
CSS div width
I am trying to create a gallery page which delivers images dynamically, in a single row, triggering the browser scroll if necessary. The amount... -
DG Column Width vs Table Column Width
Hi, I am wanting to display data in a datagrid with additional header rows above it that categorise some of the main headers of the datagrid. I... -
width for combobox
hi my code attaches combobox and it appears, but i am unable to change the width of it. _width scales it horribly, setSize and setWidth dont... -
Getting the Width of a Text in Web
Getting the Width of a Text in Web Like this: dim x as integer len = GetTheLength("MyBlaBla") I try to do it this way with a Label but... -
Murray *ACE* #2
Re: IE 6 width issues?
>I know about the IE 5x width issues, but I thought that was taken care of
It is if you have a valid and complete doctype, yes. You are talking about>in
> 6x?
box model problems, right?
You do have a valid and complete doctype, but have spoiled it with the XML
prologue, which throws IE into quirks mode -
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<html>
Please remove that first line - it's unnecessary. You might also want to
fix the two <html> tags you have there.
Now - div#mainwrapper is 756px wide with 10px padding, or 746px available
horizontal space.
div#leftcol is 470px wide, with float left, and margin:0 5px. IE has a
float/margin bug that doubles the margin when the element and the margin are
on the same side. That would mean that this element has an effective left
margin of 10px and a right margin of 5px, giving it a width of
470+10+5=485px. The div#rightcol is 275px wide, meaning that the combined
width is 485+275 = 760px, or 14px wider than the space available. Even
accounting for the IE bug, you would still be 4px wider.
Try this -
add 'display:inline' to the leftcol rule. It will eliminate the bug, and
affect nothing else. Then adjust your widths to remove 4px more space, and
see what happens.
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"dwebber" <webforumsuser@macromedia.com> wrote in message
news:ebvafd$1ej$1@forums.macromedia.com...>I know about the IE 5x width issues, but I thought that was taken care of
>in
> 6x? My #leftcol is dropping down as if I've run out of room. I've tried
> different positioning and none of that seems to changes (in IE).
> Everything
> looks fine in FF & Opera
>
> [url]www.acswebdev.net[/url]
>
> [url]www.acswebdev.net/styles/hatranchstyles.css[/url]
>
> thanks,
> Denise
>
Murray *ACE* Guest
-
dwebber #3
Re: IE 6 width issues?
Thanks, Murray. That sure did fix it. And I went through and nudged some of my
other margins and widths. I get myself confused with the sizings and
remembering to incorporate all of my widths and paddings etc when calculating .
It's a learning process that eventually I'll get, esp if I start building web
site on a regular basis.
One last thing:
When you look at the page in IE 6 do you see a white bar a couple of pixels
off to the right of my container? Does that have anything to do with my widths,
or body color or anything like that?
dwebber Guest
-
Murray *ACE* #4
Re: IE 6 width issues?
You need to change this -
<html xmlns="http://www.w3.org/1999/xhtml">
<html>
<head>
to this -
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
I'm betting that the white you are seeing is part of the background
image....
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"dwebber" <webforumsuser@macromedia.com> wrote in message
news:ebvg1h$818$1@forums.macromedia.com...> Thanks, Murray. That sure did fix it. And I went through and nudged some
> of my
> other margins and widths. I get myself confused with the sizings and
> remembering to incorporate all of my widths and paddings etc when
> calculating .
> It's a learning process that eventually I'll get, esp if I start building
> web
> site on a regular basis.
>
> One last thing:
>
> When you look at the page in IE 6 do you see a white bar a couple of
> pixels
> off to the right of my container? Does that have anything to do with my
> widths,
> or body color or anything like that?
>
Murray *ACE* Guest



Reply With Quote

