473,796 Members | 2,640 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3832
ba**********@gm ail.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?profi le=css2&warning =2&uri=http%3A% 2F%2Fwww.cbcgro up.com.au%2Fdru pal%2F>

Fixing these may help as well.
<http://validator.w3.or g/check?verbose=1 &uri=http%3A%2F %2Fwww.cbcgroup .com.au%2Fdrupa l%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**********@g mail.comwrote in message
news:11******** **************@ n39g2000hsh.goo glegroups.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.com wrote:
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**********@gm ail.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**********@gm ail.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...@gm ail.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
2533
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() sorted_feature_vector.sort() #feature_vector.keys()=sorted_feature_vector
0
1312
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 Response.Write(" * Cookie Exists * ") If Not cookie.Values("culture") Is Nothing
5
4406
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=" & iQuote.ToString Response.Redirect(sUrl)
13
2511
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 maximize the form I want to resize my 3 text boxes according to the size of the form. Each text box should take 33% of the panel's width and full hight of the panel's height. Resizing of the panel is easy with docking... but these 3 textboxes are driving...
1
1612
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 Id is "Panel1". I placed "<%=Panel1.ClientID %>" in my HTML code and I got "ctl00_pPanel1". In my Javascript function I am using:
5
1715
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)" % self return {"a": "b", "c": "d"} and then I have another module called SensorSingleton that emulates the
3
1345
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: public XmlDocument GetAllAuthors() { XmlDocument doc = new XmlDocument();
3
2284
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 which includes the function in order to allow me to call it from within a 4gl program. When i do this i get differences in the key that is produced????? This only happens when metahpone translates an x in a name. The stand
5
1771
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 alert comes up. Why? I checked the following watch expressions at the blah blah point. id = 5843 reportType = "MANDATE"
0
9535
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10242
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10200
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10021
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5453
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5582
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4127
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3744
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2931
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.