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 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Sep 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Hi all having trouble with first page ever

    Hello everyone I am completely new to this forum. I actually found it because I have been reading tutorial after tutorial and finally got stuck with a problem that I cannot find a specific answer to. As the title states this is the first page I am working on so it is VERY basic. Well anyhow this is what I am running into

    I am attempting my first try at adding css to a very basic website..it has a title header and two paragraphs no background images or pics or vids or anything yet. Well anyway in the tutorial I was reading the poster was discussing manipulating text on a page with css. The code he gave as a starter was
    <p style="font-size: 125%;">blah blah blah</p>
    Now I have worked with my code adding in what he said and I cannot get the css to make a change at all. I am not sure if I am making an error with the actual markup of my text or if I am perhaps missing a statement in the beginning of my file...all I have starting it off is
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
    "http://www.w3.org/TR/html4/strict.dtd">
    <html>
    and so forth...
    I guess basically I am asking if there is another piece of code I need at the top of the document to get the css to recognize or if I am messing something else up completely. Well anyways I am going to keep reading these tuts and hopefully figure this out I look forward to any help that you guys can offer. Thanks in advance!

  • #2
    New to the CF scene
    Join Date
    Sep 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    well i have found another great tutorial site from searching these forums and this one seems a little more explanatory than some of the others I have been using. Sooo I will go back to the drawing board and start all over with these tuts and hopefully I will eventually figure this all out after combining all I have been learning...I am convinced I am going to teach myself this stuff =)

  • #3
    Regular Coder
    Join Date
    Jul 2010
    Posts
    271
    Thanks
    3
    Thanked 40 Times in 40 Posts

  • #4
    Regular Coder
    Join Date
    Aug 2005
    Location
    MS
    Posts
    832
    Thanks
    10
    Thanked 79 Times in 77 Posts
    In line CSS (inside the tag itself) is not recommended unless you just have to do it that way. Use an external CSS file to start with as you add pages and link to it on every page. I would use the Universal Selector at the very top of the CSS file so as to clear all "junk" from the browsers so only your styles take over.

    CSS Tutorials:

    http://www.w3schools.com/Css/default.asp
    http://www.csstutorial.net/
    http://www.echoecho.com/css.htm
    http://www.html.net/tutorials/css/
    http://www.w3.org/Style/Examples/011/firstcss

    http://htmldog.com/guides/cssbeginner/
    http://www.davesite.com/webstation/css/
    http://www.htmlcodetutorial.com/char...msupp_193.html

    Your First 10 HTML Tags

    Just starting out with HTML? Here are 10 essential HTML tags that you'll need to know when building your web pages. If you learn how these 10 tags work then you'll have enough knowledge to put together a basic page.

    http://www.elated.com/articles/first-10-html-tags/

    How to Make a Webpage:

    Full Web Building Tutorials: http://www.w3schools.com/
    The Web Book (free): http://www.the-web-book.com/index.php
    Beginner's HTML Tutorial: http://www.htmlbasix.com/
    How to Create a Webpage: http://www.make-a-web-site.com/
    http://www.w3schools.com/site/default.asp

    So, you want to make a Web Page!: http://www.pagetutor.com/html_tutor/index.html
    Getting started with HTML: http://www.w3.org/MarkUp/Guide/
    Basic HTML Code / Tags For Simple Web Page: http://www.ibdhost.com/help/html/
    HTML Examples: http://www.w3schools.com/html/html_examples.asp

    The w3schools.com site is a little outdated in places. Use the w3c.org's site if in doubt.
    ☠ ☠RON☠ ☠


  •  

    Posting Permissions

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