Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New to the CF scene
    Join Date
    Jan 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    could you help me with this code

    hi all, new to the forum and this is my first post . 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

  • #2
    Senior Coder effpeetee's Avatar
    Join Date
    Feb 2007
    Location
    Clapham Junction - London SW
    Posts
    4,885
    Thanks
    228
    Thanked 204 Times in 203 Posts
    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.
    Last edited by effpeetee; 01-21-2008 at 07:57 PM.
    * Sources (updated: 21.11.2012.
    Using Windows 8 Professional. 64bit with HP Photosmart 5510 printer Very useful site here.

  • #3
    New to the CF scene
    Join Date
    Jan 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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 'any advice is nice'.

  • #4
    The Apostate Apostropartheid's Avatar
    Join Date
    Oct 2007
    Posts
    3,215
    Thanks
    16
    Thanked 265 Times in 263 Posts
    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?).
    Last edited by Apostropartheid; 01-21-2008 at 08:30 PM.

  • #5
    Senior Coder effpeetee's Avatar
    Join Date
    Feb 2007
    Location
    Clapham Junction - London SW
    Posts
    4,885
    Thanks
    228
    Thanked 204 Times in 203 Posts
    Quote Originally Posted by CyanLight View Post
    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
    * Sources (updated: 21.11.2012.
    Using Windows 8 Professional. 64bit with HP Photosmart 5510 printer Very useful site here.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •