473,563 Members | 2,571 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem with "float left" in three column site

3 New Member
Hi,

Hopefully someone can help me here. I am recoding my web site. The original site was just in HTML but I am teaching myself CSS for the new site.

My new site consists of three columns: a sidebar floated left, a sidebar floated right, and the 'main content' which has wide margins to accommodate the floated sidebars.

I am working on the main content. I want to do something very simple: I have an image floated left, with some text to the right of it. I then want to have a new paragraph (a list of links) which begins below the image, not alongside it.

But when I use <br clear="left"> in the HTML, or if I use a division for the list of links (plus a particular class) which has "clear:left " in the CSS, the paragraph clears the content of the left sidebar.

What am I doing wrong? I don't want to clear the content of the sidebar: I just want to clear the image in the 'main content' column.

If it is of any help, I have uploaded the draft page here:

http://www.reiki-evolution.co.uk/draft/about-reiki.htm

I am sure this is very simple, but it is quite frustrating. I am forced to resort to using a spacer <pre> </pre> which is not very elegant, and unsatisfactory depending on the text size chosen in the browser.

Hopefully someone can help me with my current confusion.

Best wishes,


Taggart King
www.reiki-evolution.co.uk
Aug 14 '07 #1
2 1947
drhowarddrfine
7,435 Recognized Expert Expert
I am confused. The page looks to me like what you want it to do. 'clear:left' is designed to do what you experience, but that's not want you want, so why are you trying to use it?

One problem: you are using end tags with '/>'. This is an Xhtml ending but you are using HTML. Remove the slash on all those or some browsers may interpret that as an 'end of markup'.

Also, if you have a list of links, you should make it a list and not a paragraph. A paragraph contains inline elements, like a line of text. A list, is a list, so list your links.

Also, please read the Article above about doctypes.
Aug 14 '07 #2
Reiki Evolution
3 New Member
If you alter the text size you will see that the list of links does not always clear the image in the 'main content' column. My question is, basically, how do I make text (and text that will be in a similar position on other pages) clear this image and start below it?


Taggart
Aug 15 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
2175
by: python | last post by:
Hi- I'm getting a "DeprecationWarning: integer argument expected, got float" warning with mx.DateTime and I can't figure out why. Can anyone help me out? This code: import mx.DateTime
2
5037
by: Tim Williams | last post by:
I'm trying to write a simple python program to access a MySQL database. I'm having a problem with using MySQLdb to get the results of a SQL command in a cursor. Sometimes the cursor.execute works, sometimes not. From mysql: mysql> show databases; +-----------+ | Database |
0
2059
by: Dean Speir | last post by:
Hoping that someone here can see the glitch I'm experiencing. I build a site for an organization in which a <TD> which recurs on most of the pages displays exactly as intended in IE, Netscape and Firefox. It is seen here: http://www.lipsa.net/, and the external style sheet is at http://www.lipsa.net/pbr.css. Note how the dark green TD...
5
1983
by: geskerrett | last post by:
We are working on a project to decipher a record structure of an old accounting system that originates from the late80's mid-90's. We have come across a number format that appears to be a "float" but doesn't match any of the more standard implementations. so we are hoping this is a recognizable number storage format with an identifiable name...
1
4205
by: Steve | last post by:
I have a SQL query I'm invoking via VB6 & ADO 2.8, that requires three "Left Outer Joins" in order to return every transaction for a specific set of criteria. Using three "Left Outer Joins" slows the system down considerably. I've tried creating a temp db, but I can't figure out how to execute two select commands. (It throws the exception...
7
31541
by: Steve | last post by:
I have a SQL query I'm invoking via VB6 & ADO 2.8, that requires three "Left Outer Joins" in order to return every transaction for a specific set of criteria. Using three "Left Outer Joins" slows the system down considerably. I've tried creating a temp db, but I can't figure out how to execute two select commands. (It throws the exception...
4
2769
by: rfox | last post by:
I have a two-column layout where I want the left column to have a colored background while the right column (main content div) has a white background. Please see http://www4.scoe.net/rfox/nest/index4.html My problem is that the colored background in the left column only extends to the height of the content leaving a white gap below it. How...
5
4178
by: Peter Hansen | last post by:
I'm investigating a puzzling problem involving an attempt to generate a constant containing an (IEEE 754) "infinity" value. (I understand that special float values are a "platform-dependent accident" etc...) The issue appears possibly to point to a bug in the Python compiler, with it producing inconsistent results. I'm using "Python 2.4.2...
5
1942
by: maya | last post by:
hi, here, http://www.mayacove.com/design/sd/test2.html <div class="entry"has a bottom-margin of 20px.. but it's ignored if divs inside it have "float" property.. (put borders around divs for testing purposes.. just like in my previous post, HTML and CSS both validate..)
0
7658
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7579
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...
0
7874
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8101
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...
1
7630
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...
0
6228
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5479
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3609
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1192
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.