473,378 Members | 1,142 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

ie6 float issue driving me crazy

Hi all.

Any advice appreciated - I'm floating an image right and the text to
the left of the image is being forced down about 5px from the top of
the containing area. You can see the issue here: http://www.cbcgroup.com.au/drupal.

No issues in ie7 or Firefox - can someone tell me what I'm doing
wrong?

Thanks.

Sep 25 '07 #1
6 3803
ba**********@gmail.com wrote:
Any advice appreciated - I'm floating an image right and the text to
the left of the image is being forced down about 5px from the top of
the containing area. You can see the issue here:
http://www.cbcgroup.com.au/drupal.

No issues in ie7 or Firefox - can someone tell me what I'm doing
wrong?
Perhaps fixing errors would help. It appears you are using an underscore
to comment out changes in the CSS. That's an error; use real CSS comment
markers: /* this is a comment */

<http://jigsaw.w3.org/css-validator/validator?profile=css2&warning=2&uri=http%3A%2F%2F www.cbcgroup.com.au%2Fdrupal%2F>

Fixing these may help as well.
<http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.cbcgroup.com. au%2Fdrupal%2F>
"This page is not Valid XHTML 1.0 Strict!
Result: Failed validation, 43 Errors"

--
-bts
-Motorcycles defy gravity; cars just suck
Sep 25 '07 #2
rf

<ba**********@gmail.comwrote in message
news:11**********************@n39g2000hsh.googlegr oups.com...
Hi all.

Any advice appreciated - I'm floating an image right and the text to
the left of the image is being forced down about 5px from the top of
the containing area. You can see the issue here:
http://www.cbcgroup.com.au/drupal.
Which of those images would you be talking about? I see almost no difference
in any of them.

Ah, the image of a, room I presume. So what? A couple of pixels.

img {vertical align: bottom:} perhaps?
No issues in ie7 or Firefox - can someone tell me what I'm doing
wrong?
You are using stupidly small font sizes. I tried to find the font size you
are using using firebug but your CSS is just so way over the top bloated
that I gave up. What is it with this reset.css and all the others?

You are worring about pixel perfect positioning.

You have a fixed width page that will never exactly fit in *my* browser
canvas.

You are wasting a huge amount of vertical pixels in a picture of some sort
of building at the top of your page. To what effect? Does it impress me? No.

You have failed to gain my attention within the 10 second timespan you have.
Just another one of *those* sites.

--
Richard.
Sep 25 '07 #3
In article <H5****************@news-server.bigpond.net.au>,
"rf" <rf@invalid.comwrote:
You have failed to gain my attention within the 10 second timespan you have.
Just another one of *those* sites.
You had to add that, being the prick that you are.

--
dorayme
Sep 25 '07 #4
ba**********@gmail.com writes:
Any advice appreciated
<snip>
http://www.cbcgroup.com.au/drupal.

No issues in ie7 or Firefox
Not what you were asking about, but on my system, at the settings I
usually use, your menu texts wrap to two lines and overlap. You may
see this yourself if you enlarge the font size in FF, on say the
"current projects" page.

--
Ben.
Sep 25 '07 #5
ba**********@gmail.com wrote:
Hi all.

Any advice appreciated - I'm floating an image right and the text to
the left of the image is being forced down about 5px from the top of
the containing area. You can see the issue here: http://www.cbcgroup.com.au/drupal.

No issues in ie7 or Firefox - can someone tell me what I'm doing
wrong?
You have a "Collapsing Margins" occurrence, causing the extra white
space, below the horizontal red line.

It may be possible to locate the cause, but it's not worthwhile. The
reason is embedded somewhere among the numerous and superfluous divs you
use to create vertical space. Many, many, in fact most of the divs
should be removed from your markup, the page simplified and in other
words completely redone, IMHO.

I will give you an instance of the image of a man wrapped in a div which
is not necessary. Simply use the image and float it left and the
subsequent text <h1and <pwill all flow around the image. (Wrap the
whole thing in a single div wrapper.)

The second instance is that of the patio image floated to the right this
time and the <h1>, <h2and the following text will all flow around this
image as well. Also lose the <ulwhich you use simply to create
vertical space. (Again, wrap this complete section in another Div wrapper.)

On the right side your "Latest News & Events" should have only a div
wrapper without the other divs and again a <ulfor vertical spacing.

On the bottom right side you don't need a div - at most a div wrapper
(if at all necessary).

The bottom line is to use the KISS principle and use a 2-column method, eh?

--
Gus
Sep 26 '07 #6
On Sep 25, 9:56 pm, battle.ch...@gmail.com wrote:
Hi all.

Any advice appreciated - I'm floating an image right and the text to
the left of the image is being forced down about 5px from the top of
the containing area. You can see the issue here:http://www.cbcgroup.com.au/drupal.

No issues in ie7 or Firefox - can someone tell me what I'm doing
wrong?

Thanks.
Wow - what a hammering.

Thanks to all you guys who've been constructive.

Sep 26 '07 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: dont bother | last post by:
This is really driving me crazy. I have a dictionary feature_vectors{}. I try to sort its keys using #apply sorting on feature_vectors sorted_feature_vector=feature_vectors.keys()...
0
by: Shapper | last post by:
Hello, I have this code in Global.asax: Sub Session_Start(Sender As Object, E As EventArgs) Dim cookie As HttpCookie = Request.Cookies("MyCookie") If Not cookie Is Nothing Then...
5
by: DougS | last post by:
I have this code behind a button that does not work: Dim sQuote As String = txtQuoteNum.Text Dim iQuote As Int32 = CType(sQuote, Int32) Dim sUrl As String = "Demographics.aspx?Quote=" &...
13
by: Martin Ho | last post by:
I know this must be trivial for many of you. But I am playing with this and can't figure it out. I have a form, on that form is one panel which has 3 textboxes, when I run my program and...
1
by: Miguel Dias Moura | last post by:
Hello, I have been trying, for days, to retrieve a control's ClientId in a javascript function. I am using a master page and this is why I need to retrieve the Control's ClientId. The control...
5
by: Pupeno | last post by:
Hello, I am experiencing a weird behavior that is driving me crazy. I have module called Sensors containing, among other things: class Manager: def getStatus(self): print "getStatus(self=%s)"...
3
by: JD | last post by:
Hello, I am dealing with an issue, that although probably simple, is driving me crazy. I am trying to connect to a SQL 2005 Express database through a web service using the following code: ...
3
by: rashpal.sidhu | last post by:
Please help, this problem is driving me crazy !! I am using metaphone to create phonetic keys. When i run the module stand-a-lone it works fine. I'm trying to create a runner for informix...
5
by: mark4asp | last post by:
Every time the function below is called I get the alert. So I put a deliberate error in there and I check the value of (reportType=='MANDATE') in Firebug, which is found to be true. But still the...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.