473,385 Members | 1,465 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,385 software developers and data experts.

Text in a box within a box

Sorry for this newbie question.

I'm trying get some text to wrap around a box that also happens to be in a box.

Here's the html page I'm working with: http://homepage.mac.com/ccfinder/mo...cs/gruson3.html

I'm trying the get the text "some content" to wrap around the Yellow Box, instead of the Yellow Box covering it up.

I tried placing my "yellow box" div inside my "maincontent" div as suggested somewhere, but that didn't help me accomplish what I was after.

Any help would be appreciated. Thanks.
Jul 18 '06 #1
3 2885
Arielle
76
Your URL doesn't work, could you copy and paste your code here?
Jul 18 '06 #2
oops. Thanks for pointing out the problem with my link:

This should be better:

http://homepage.mac.com/ccfinder/movieclassics/gruson3.html
Jul 18 '06 #3
Here is the code for that page. Thanks.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<html>
<head>

<link rel="stylesheet" type="text/css" href="gruson.css" />
<title>newgruson</title>

<style type="text/css">

body { margin: 0pt;
padding: 0pt;
font-family: sans-serif;
line-height: 1.4em;
font-size: small;
}

div#header { padding: 2%;
text-align: center;
background-color: rgb(153, 153, 102);
height: 60px
}


div#maincontent {

padding: 2%;
text-align: justify;
background-color: rgb(204, 204, 153);
color: rgb(36, 106, 75);
position: absolute;
visibility: visible;
float: both;
margin-left: 100px;
width: 595px; height: 1470px; top: 70px; left: 38px;
}

div#leftcolumn { padding: 2%;
float: left;
text-align: center;
background-color: rgb(100, 153, 152);
color: rgb(255, 255, 255);
width: 130px; height: 1470px;
visibility: visible;
}

div#yellowbox { padding: 2%;
margin-left: 175px;
width: 175px;
top: 93px; left: 42px; height: 102px;
visibility: visible;
float: both;
background-color: rgb(255, 255, 204);
position: relative;
overflow: visible;
}

</style>

</head>


<body>

<div id="header">
<p>My Header</p>

</div>

<div id="leftcolumn">
<p>My Left Column</p>

<p>Home</p>

<p>Link 1</p>

<p>Link 2</p>

<p>Link 3</p>



</div>

<div id="maincontent">



<p> some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content some content </p>


</div>

<div id="yellowbox">
<p>My Yellow Box</p>

<p>my yellowbox text</p>

<p>my yellowbox text</p> </div>



</body>
</html>
Jul 20 '06 #4

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

Similar topics

7
by: Lachlan Hunt | last post by:
Hi, I have recently downloaded and experemented with IBM HPR 3.0, and Opera 8 with text-to-speech, and have come to realise some fairly annoying issues regarding punctuation marks. I've found,...
11
by: Mark Schneider | last post by:
I'm trying to avoid using <table> for formatting purposes where other, reasonable means exist. I'm stuck trying to find a way to find an equivalent for the code below. <table align="center">...
3
by: Tracey | last post by:
I have some text boxes in the footer of a data grid to allow a user to add a new record. For some reason to get the focus in to the text boxes you can only click on the far left of the box if...
14
by: Ilias Lazaridis | last post by:
within a python script, I like to create a collection which I fill with values from an external text-file (user editable). How is this accomplished the easiest way (if possible without the need...
1
by: SteveT | last post by:
Folks, I am reading/writing data within an XML file. In my form I have a label that is assigned to the UpdateDate field within the XML file. Within the form I update the label to a different...
3
by: vtashore | last post by:
I downloaded Steve Leban's RTF2 control and it works as advertised. Good news! After reading reference material on the RTF standard codes, I have been able to write update queries to universally...
6
by: rn5a | last post by:
When the EditCommandColumn in a DataGrid is clicked, all the BoundColumns get replaced by TextBoxes so that users can alter the data. By default, the Text in the TextBoxes are left-aligned. Is...
13
by: =?Utf-8?B?S2VzdGZpZWxk?= | last post by:
Hi Our company has a .Net web service that, when called via asp.net web pages across our network works 100%! The problem is that when we try and call the web service from a remote machine, one...
16
by: Neil | last post by:
I posted a few days ago that it seems to me that the Access 2007 rich text feature does not support: a) full text justification; b) programmatic manipulation. I was hoping that someone might...
1
by: littlealex | last post by:
IE6 not displaying text correctly - IE 7 & Firefox 3 are fine! Need some help with this as fairly new to CSS! In IE6 the text for the following page doesn't display properly - rather than being...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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?
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...

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.