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

Help with DIV tags PLEASE

I created a DIV layout on Myspace. You can only use CSS or HTML on the site.. I think that may be where I went wrong. There is 3 div tables on my page. I successfully added a picture to the first DIV. For some reason in Div3, pictures and links wont show up. Can anyone tell me why!? I tried putting a javascript inside the div tags but it's not allowed. Here's my code....

If you're familiar with myspace, this part of the code is on my "ABOUT ME" in CSS


.div1 {
background-color:ffffff; color:000000;
border:0px solid; border-color:silver;
width:245px; height:250px; overflow:auto;
position:absolute; z-index:2; left:50%; top:0%;
margin-left:-295px; margin-top:80px; text-align:left;
visibility:visible;}

.div2 {
background-color:ffffff; color:000000;
border:0px solid; border-color:silver;
width:245px; height:475px; overflow:auto;
position:absolute; z-index:2; left:50%; top:0%;
margin-left:-295px; margin-top:355px; text-align:left;
visibility:visible;}

.div3 {
background-color:ffffff; color:000000;
border:0px solid; border-color:silver;
width:350px; height:750px; overflow:auto;
position:absolute; z-index:2; left:50%; top:0%;
margin-left:-30px; margin-top:80px; text-align:center;
visibility:visible;}
marquee { z-index:8; }
table div, span, td td td, table div div { visibility:hidden !important; }
.bbzContainer div, .bbzContainer div font, .bbzContainer div a, .bbzContainer div div, .bbzContainer font a, .bbzContainer span, .bbzContainer div table a, .bbzContainer div table img, .bbzContainer div table font, .bbzContainer div table, .bbzContainer div table td, .comt, .comt td, .comt span, .comt a, .comt div {visibility:visible !important;}

.bbzDiv {content:"Overlay Generator beta";}
</style><BR><BR>
<div style="display:none;"><table><tr><td><table><tr><t d><table><tr><td>




and this code is inserted in my "MUSIC" section...


<div class="bbzContainer">
<div class="div1">

this is where i have an image and it works...

</div>
</td></tr></table>

<div class="div2"><BR>

stuffs in here...

<BR></div><BR><BR><BR>


</div><BR><BR><BR>

<div class="div3"><BR>

this is where i put the pictures and links... they wont work.

for example..


<img src="blah blah blah">
<a href="http://www.google.com">google</a>

i put them in here but they don't show up on the page.


</div><BR><BR><BR>



help!!?
Aug 18 '07 #1
4 1431
Atli
5,058 Expert 4TB
Hi.

First of all, don't user <BR>, use <br /> instead.

Does anything show up in div3?
Aug 18 '07 #2
drhowarddrfine
7,435 Expert 4TB
You can only use CSS or HTML on the site.. I think that may be where I went wrong.
It would be fun to see a page created without HTML.
First of all, don't user <BR>, use <br /> instead.
<br /> only exists in XHTML so <br> is correct usage.
Aug 18 '07 #3
Atli
5,058 Expert 4TB
<br /> only exists in XHTML so <br> is correct usage.
True. Sorry my mistake.
Isn't the <br> tag, and whatever version of HTML it belongs to, a bit out of date tho?
Aug 19 '07 #4
drhowarddrfine
7,435 Expert 4TB
Not at all. It's used to cause a break in a line. What you may be thinking, though, is when it's used for creating space. That is not its intended use and there are better solutions, namely margin and padding.
Aug 19 '07 #5

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

Similar topics

5
by: PaulThomas | last post by:
Working with XP-Pro and VS.Net I have set my Start Page to "Home.aspx" but the application always starts the "Login" page - - - How can I change the start page to the Home.aspx??? On the login...
11
by: milkyway | last post by:
Hello, I have an HTML page that I am trying to import 2 .js file (I created) into. These files are: row_functions.js and data_check_functions.js. Whenever I bring the contents of the files into...
8
by: baustin75 | last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie only when debugging in php designer 2005 -------------------------------------------------------------------------------- ...
1
by: Rahul | last post by:
Hi Everybody I have some problem in my script. please help me. This is script file. I have one *.inq file. I want run this script in XML files. But this script errors shows . If u want i am...
4
by: Mel | last post by:
I have: <head><title>JUNK</title></head><body >HELLO</body> i need to strip off all tags <> and end up with the content "HELLO". can someone show me how ? thanks a whole bunch
0
by: gunimpi | last post by:
http://www.vbforums.com/showthread.php?p=2745431#post2745431 ******************************************************** VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help wanted...
0
by: Ed from AZ | last post by:
I'm using Word 2003. I use a proprietary Java program that takes all the information in the various forms and generates an XML file. There are times I need to move information between files. I...
1
by: shapper | last post by:
Hi, On a form I have an input where tags are inserted in a CSV format. Then on my code I convert the CSV string to a List<Tag>. Tag is an object with two properties: TagID and Name So when I...
1
by: shapper | last post by:
Hello, I am using the following: PostPaper paper = (from p in database.Posts where p.PostID == id select new PostPaper { Post = p, Tags = (from pt in database.PostsTags join t in...
3
by: nigelesquire | last post by:
Please help! I'm trying to clone and delete multiple rows with JavaScript. I need two delete buttons that work...! I only have one for now, but it's not working properly, the output count is...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
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...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
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...

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.