473,406 Members | 2,371 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,406 software developers and data experts.

problems creating right and left sidebar in php output

cassbiz
202 100+
Normally I would use tables,

In this instance I cannot

The PHP is populating data from the MySQL db and I can create either on or the other sidebars but both are not working at the same time.

My code is completely *$%*&#$ because I'm tired.

Does anyone have a simple set of sidebars that will work with id's and PHP where it doesn't float one on top of the other.

Here is my current css

Expand|Select|Wrap|Line Numbers
  1.                 .containingbox
  2.                 {
  3.                         width: 400px;
  4.                         height: 400px;
  5.                 }
  6.                 .floatright
  7.                 {      
  8.                         float: right;
  9.                         clear: right;
  10.                         width: 150px;
  11.                         background-color: #90ee90;
  12.                         margin: 0px;
  13.                 }
and then the php


Expand|Select|Wrap|Line Numbers
  1.         echo "<div align=right><a href=\"javascript:zimmer_link('";
  2.         echo $zimmer;
  3.         echo "')\" class=\"floatright\">Space $zimmer</a></div>\n";
Nov 21 '06 #1
0 1056

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

Similar topics

0
by: Linda Antonsson | last post by:
Hi, I am trying to put together a CSS-based layout consisting of a header, a sidebar and a main content area. Page: http://www.westeros.org/ASoWS/ CSS:...
1
by: Robert Oschler | last post by:
I know how to load a document into the "Search" panel/sidebar in Internet Explorer. I also know that I can use the "window.opener" property, from the "Search" sidebar document, to change the main...
2
by: Todd_M | last post by:
I was wondering what anyone might suggest as "best practice" patterns for streaming out fixed formatted text files with C#? Let's say we get our data in a dataset table and we need to iterate over...
2
by: Bonnett | last post by:
I have made a simple console application that creates a webpage from my playlist, then uploads it to my webhost. I decided to convert it to a windows service and use the FileSystemWatcher to...
1
by: Jeff | last post by:
hey asp.net 2.0 I'm creating a web portal using master pages and sitemaps! My web portal consist of 2 menus (a header menu which goes horizontally across the top of the page. And a sidebar...
6
mikeinspain
by: mikeinspain | last post by:
Hi Guys.. Hope someone can help. I have a problem with a particular page on one of the sites I am developing. The page is here: http://tagwealth.co.uk/contact/. The pages renders fine in...
3
by: diegoavaya | last post by:
I have tried numerous suggestions and different codes without a firm solution, so I am hoping someone can take a look at my work and pin point my problem. I have designed a website with a...
5
by: David Schwartz | last post by:
I've got a sidebar element that's a floating div. To the left of this div, there are p's each with a margin-right set as well as overflow: auto set (see below)). Some of the p's are of class...
2
by: kheitmann | last post by:
OK, so I have a blog. I downloaded the "theme" from somewhere and have edited a few areas to suit my needs. There are different font themes within the page theme. Long story short, my "Text Posts"...
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: 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
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...
0
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...
0
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...
0
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...
0
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,...
0
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...

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.