473,703 Members | 2,436 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Help with DIV tags PLEASE

1 New Member
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:absolu te; z-index:2; left:50%; top:0%;
margin-left:-295px; margin-top:80px; text-align:left;
visibility:visi ble;}

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

.div3 {
background-color:ffffff; color:000000;
border:0px solid; border-color:silver;
width:350px; height:750px; overflow:auto;
position:absolu te; z-index:2; left:50%; top:0%;
margin-left:-30px; margin-top:80px; text-align:center;
visibility:visi ble;}
marquee { z-index:8; }
table div, span, td td td, table div div { visibility:hidd en !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:vis ible !important;}

.bbzDiv {content:"Overl ay Generator beta";}
<div style="display: none;"><table>< tr><td><table>< tr><td><table>< tr><td>

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

<div class="bbzConta iner">
<div class="div1">

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


<div class="div2"><B R>

stuffs in here...

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

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

<div class="div3"><B R>

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 >

Aug 18 '07 #1
4 1462
5,058 Recognized Expert Expert

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

Does anything show up in div3?
Aug 18 '07 #2
7,435 Recognized Expert Expert
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
5,058 Recognized Expert Expert
<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
7,435 Recognized Expert Expert
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

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 page that displays I have private void LinkButton1_Click(object sender, System.EventArgs e) { bool MyVar = true; Msg.Text = "ReDirecting to Home.aspx"; Response.Redirect("Home.aspx",MyVar); }
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 this HTML file, all is OK but whenever the functions are separated (as it is now), when I run the page, I get the following error: Line 73, object expected.
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 -------------------------------------------------------------------------------- Hello, I have a very simple problem but cannot seem to figure it out. I have a very simple php script that sends a test email to myself. When I debug it in PHP designer, it works with no problems, I get the test email. If
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 attach this script files and inq files. I cant understand this error. Please suggest me. You can talk with my yahoo id b_sahoo1@yahoo.com. Now i am online. Plz....Plz..Plz...
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
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 ******************************************************** For this teeny job, please refer to: http://feeds.reddit.com/feed/8fu/?o=25
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 tried to explore this in the Excel and Access NG, because the data format would lend itself very well to a spreadsheet or table. But I reached a dead end.
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 do the conversion I only fill the Tags names ... Then I use a join to find these tags into my database.Tags and get their ID's.
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 database.Tags on pt.TagID
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 messing up. Problems:
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,...
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...
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,...
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...
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
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...
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
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
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.