...

View Full Version : could you help me with this code



foxesboi
01-21-2008, 08:40 PM
hi all, new to the forum and this is my first post :D. i have myspace and so far i've wrote (from the help of researching and copying some of other codes iv seen on the net and this is the code i have:

<center><div style=font-size:9px;position:fixed;right:0px;top:0px><style type="text/css"> textarea {background-color:4a4a4a; border-width: 2px; border-style:solid; border-color:000000; color:000000; font-family:Arial; font-size:12 px;} input {background-color:4a4a4a; border-width:2pxborder-style:solid; border-color:000000 ; color:000000 ; font-family:Arial; font-size:12 px;} </style><form method="post" action="index.cfm?fuseaction=user.ConfirmComment"> <input type="hidden" name="friendID" value="FRIENDID"> <textarea name="f_comments" style="width: 100%; height: 60px;"></textarea><BR> <input type="submit" value="Go..."> <input type="reset" value="Woops..."></form></center>

its a comment box and all works fine, jus want it too look that bit better, you all know what i mean. is there a way i can remove the scroll bar that is inside the text area?

[i know the friendid is missin i removed it for obvious reasons]
if you want to see it so far my page is:
www.myspace.com/nikedmands
thank you all in advance

effpeetee
01-21-2008, 08:51 PM
Hello and welcome.

The very first thing that you must do is to put a DOCTYPE as the first line in the program. If you look at the "Sticky" entries at the top of the CF entry page, you will find information there or failing that, the "Sources" url in my signature has a reference for this subject.

http://www.alistapart.com/stories/doctype/

Probably this would do.

!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

Other than that I find the page too dark and not easy to read.

Frank.

foxesboi
01-21-2008, 09:02 PM
thank you for the response effpeetee, not tried it yet but im sure it will help me out alot, and also thanks for your opinion on my page :thumbsup: 'any advice is nice'.

Apostropartheid
01-21-2008, 09:20 PM
Frank, it's to be inserted into MySpace *shivers visibly*. You can't fix it from the top, so invalid code's fair game here, in my opinion.

Add some padding to the cells and try making the background color lighter (maybe white?).

effpeetee
01-21-2008, 09:25 PM
Frank, it's to be inserted into MySpace *shivers visibly*. You can't fix it from the top, so invalid code's fair game here, in my opinion.
Yes CyanLight,

I half thought as much. I was just casting a line as it were. Using these ready made sites can be a nightmare with all their JScript etc,

I usually don't involve myself as my knowledge of these sites is scanty. However, some knowledge of DOCTYPES won't do any harm, ready for later.

Regards

Frank



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum