CSS question

tonytony ModeratorAdministrator
ok i have a few question
im creating a site as you may have seen in the review section,

what i want is on my login script on my page, i want the text to be in bold and arial, and the actual box to have a different colour background

Comments

  • ArestiaArestia Member NAT Warrior
    .form_login {font-family:arial; font-weight:bold; background:#FFFFFF;

    and your form would be

    <input type=text name=login class=form_login>

    ok this is pretty basic, if u need any other formating info (border, fontcolor, etc.) just post it.

    -Dan
    Arestia Design Studios / Synapse Corporate Solutions
    Daniel L. Rust - Lead Architect
    Seattle, WA
  • tonytony Moderator Administrator
    yea that would be good, how do i make it so it just looks like a rectangel, not 3d with a black border?
  • ArestiaArestia Member NAT Warrior
    f_main {font-family:arial; font-size:11px; background:#FFFFFF; border: 1 solid #5F87B3; color: #3C5D87;}

    syntax as follows

    (font name, font size, background of box, border size/color, font color)

    -Dan
    Arestia Design Studios / Synapse Corporate Solutions
    Daniel L. Rust - Lead Architect
    Seattle, WA
  • tonytony Moderator Administrator
    youve lost me now :-P
    is it not just something like

    border: 1 solid #5F87B3; in .form_login in the css?
  • ArestiaArestia Member NAT Warrior
    yeah just add it to your css, the syntax stuff i listed was for all the properties that you could edit.

    -Dan
    Arestia Design Studios / Synapse Corporate Solutions
    Daniel L. Rust - Lead Architect
    Seattle, WA
  • tonytony Moderator Administrator
    thanks for the help
  • summoner49summoner49 Member NAT Warrior
    TopStyle is a great CSS program to work with if you are interesting in going that direction with CSS.
  • tonytony Moderator Administrator
    do you have a website where i can get it from? how much does it cost?
  • SEbasicSEbasic Advanced User VPS - Virtual Prince of the Server
    Do it by hand - So much easier...
    Rave it up.
  • summoner49summoner49 Member NAT Warrior
    how is it easier? I have never had an error, and a few times had to enter it in by hand, but not many...

    There is a built in preview just below your work, so you see exactly how its gonna turn out... I rather like it...

    um, I just searched downloads.com for TopStyle and got mine (mines a demo) But I think there is a free version there too.
  • tonytony Moderator Administrator
    http://www.bradsoft.com/index.asp thats where you can get it from
    i wouldnt mind but last night i worked out how you can get certain text to be formatted by whatever part of the css you want it to belieng to (im sure theres a better way to explain that) with just 1 or 2 clicks of a button but ill have a look at that program later on

    thanks
  • CannonBallGuyCannonBallGuy Moderator Shared Hoster
    CSS is so easy. It takes minutes to learn and seconds to type out. lol
    Who needs a program to do it?
  • tonytony Moderator Administrator
    i wouldnt be ablt to make a full site out of it, i think ill be using tables for a while yet, but over time i have used more and more css, originally i used css just for fonts, and links, then i used it for the background colour then for scrollbars and now im working on using it for things like links and then navigation links and in forms, i suppose eventually ill get round to using more css but for the time being tables are really easy to use for layouts
  • CannonBallGuyCannonBallGuy Moderator Shared Hoster
    Css and Divs are EASIER for layouts... and you shouldn't use tables anyway.
  • SEbasicSEbasic Advanced User VPS - Virtual Prince of the Server
    Yeah - CBG is right.

    I haven't got a clue how to build whole sites with tables by hand...

    CSS all the way!!!

    better for the internet too (Accessibility) :)
    Rave it up.
  • deadfingersdeadfingers Senior Member The Royal RAM
    SEbasic wrote:
    Yeah - CBG is right.

    I haven't got a clue how to build whole sites with tables by hand...

    CSS all the way!!!

    better for the internet too (Accessibility) :)

    Lol really? wow i do all sites wit tables by hand!
    :mad: lol but oh well im starting to learn CSS and yeh i know a good amount already just by www.htmlgoodies.com, i think ill replace my HTML habits wit CSS :P hehe.
    sig.jpg
  • ForgeForge Senior Member The Royal RAM
    same, I do all of my websites from scratch. Start with a blank page and load er' up. PHP, HTML, and CSS are the 3 main scripting languages i use to make diverse websites, some javascript too but not as much, because its getting outdated.
    Can fat people Go skinny Dipping?
  • kinkkink serious member VPS - Virtual Prince of the Server
Sign In or Register to comment.