Jump to content

Noob HTML Text Help


Nebby

Recommended Posts

Hi, someone released a layout and I kinda wanna edit it, but it doesn't have any text in the content box and it is coded, so therefore I cannot type in it because I do not know where it is. Here is the code if you guy's can help me out;

 

 

<html><head>  <title>HabboMania</title>  <link href="style.css" rel="stylesheet" type="text/css" /> </head> <body><div align="center"><br /><div id="container">  <img src="images/header.png"><br /><br />    <div id="djsays"> <div class="djsays"><marquee>DJ Says Text will scroll across here.</marquee></div>    </div><br /><br /> <div id="head1"></div>  <div id="mid">     <div class="text"> 	<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />     </div>   </div> <div id="head2"></div>  <div id="mid">     <div class="text"> 	<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />     </div>   </div> <div id="foot"></div><br /><br />  <img src="images/bottom.png"></div>    </div></body></html>

 

Link to comment
Share on other sites

Depending on what your CSS is...I'd assume type between the div class=text tags and the closure of that tag. If you want to add a title, type between the head1 or the head2 tags. Depends on the layout you're looking for and what's specified in the CSS.

 

Got the page somewhere? Of course, if he's labelled his divs retardedly then it may not do that at all.

Link to comment
Share on other sites

 

Depending on what your CSS is...I'd assume type between the div class=text tags and the closure of that tag. If you want to add a title, type between the head1 or the head2 tags. Depends on the layout you're looking for and what's specified in the CSS.

 

Got the page somewhere? Of course, if he's labelled his divs retardedly then it may not do that at all.

Aha. Thank you, sir. I'll try that right now.

 

EDIT: Here is the CSS;

 

 

 body { 	background-image: url(images/bg.png); 	font-family: verdana; 	font-size: 10px; 	color: grey; } #container { 	width: 659px; 	margin: auto; 	margin-top: -10px; 	background-image: url(images/grey.png); } #djsays { 	width: 607px; 	height: 39px; 	background-image: url(images/djsays.png); 	margin-right: 26px; 	margin-left: 26px; } #head1 { 	width: 627px; 	height: 32px; 	background-image: url(images/welcome.png); 	margin-right: 16px; 	margin-left: 16px; }  #head2 { 	width: 627px; 	height: 33px; 	background-image: url(images/staff.png); 	margin-right: 16px; 	margin-left: 16px; } #foot { 	width: 627px; 	height: 33px; 	background-image: url(images/foot.png); 	margin-right: 16px; 	margin-left: 16px; } #mid { 	width: 627px; 	background-image: url(images/mid.png); 	margin: auto; 	margin-right: 16px; 	margin-left: 16px; } div.text { 	margin-left: 3px; 	margin-right: 3px; } div.djsays { 	margin-left: 75px; 	margin-right: 3px; 	padding-top: 12px; 	color: black; 	font-size: 11px; } 

 

Edited by Meth0d
Link to comment
Share on other sites

GentlemanSquid

You type where the <br /> are. These are breaks, similar to what an enter button does. So just remove those and replace them with text.

Link to comment
Share on other sites

You type where the <br /> are. These are breaks, similar to what an enter button does. So just remove those and replace them with text.

This would be the code, right?

 

 

<div class="text"> 	<p>Test</p>

 

Because, that fail's. confused.gif I really need help with this, sorry if I'm being an annoying idiot, I just know nothing about coding, I can just do graphic's tounge.gif

Link to comment
Share on other sites

GentlemanSquid

Is it possible for you to send me the files? I find it better to work it out first hand.

Link to comment
Share on other sites

OverTheBelow

Put something like this:

 

.text { color: #FF0000!important; }

temporarily in your CSS to ensure you'll easily see the text if it is actually being presented, and where. If you see where the text is (and it is actually being rendered on the page), you can remove this.

 

 

Then literally, just put your text in between the first and second <br /> or something, removing them as you see fit (they just signify new lines in text). <p> can also be used, but it doesn't really matter either way.

 

<div class="text">

  <br />Example<br /><br /><br /><br /><br /><br />

     </div>

DU8afL0.jpg

Link to comment
Share on other sites

GentlemanSquid

I'll doubt that will work, as the default color is black and there are no elements telling it to go white.

Link to comment
Share on other sites

OverTheBelow
I'll doubt that will work, as the default color is black and there are no elements telling it to go white.

The body color is grey, so it could make it difficult to see the text should it actually show up. I'm not entirely sure on the shade of grey it represents (whether light or dark), but it will just make things a little easier.

DU8afL0.jpg

Link to comment
Share on other sites

GentlemanSquid

It is a very good program, you can get a 30 day trial off the official site.

 

Also recommend making your site a bit more html5 and css3 friendly.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.