homepage problem Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.
3 posters

    homepage problem

    darkgoku
    darkgoku
    Forumember


    Posts : 326
    Reputation : 3
    Language : English

    Solved homepage problem

    Post by darkgoku 10/8/2014, 15:57

    imma making a homepage for the forum im admin on and i wanna know if its possible for me to link a css file with html file


    Last edited by darkgoku on 10/10/2014, 00:51; edited 1 time in total
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Solved Re: homepage problem

    Post by Ange Tuteur 10/8/2014, 16:15

    Hello darkgoku,

    Wherever HTML formats you can write :
    Code:
    <link rel="stylesheet" href="stylesheet_ref" type="text/css">

    Replace stylesheet_ref by your external sheet.
    darkgoku
    darkgoku
    Forumember


    Posts : 326
    Reputation : 3
    Language : English

    Solved Re: homepage problem

    Post by darkgoku 10/8/2014, 16:17

    can u give me and example of this working
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Solved Re: homepage problem

    Post by Ange Tuteur 10/8/2014, 16:32

    It wont work unless you link to your external stylesheet..

    If you don't have an external sheet to link to, then you can write an inline sheet :
    Code:
    <style type="text/css">
    /* Style rules */
    </style>

    Again, it can go anywhere HTML formats.
    darkgoku
    darkgoku
    Forumember


    Posts : 326
    Reputation : 3
    Language : English

    Solved Re: homepage problem

    Post by darkgoku 10/8/2014, 16:33

    but how would i edit the css or add one
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Solved Re: homepage problem

    Post by Ange Tuteur 10/8/2014, 16:35

    You would add your rule to the inline sheet :
    Code:
    <style type="text/css">
    /* Style rules */
    .selector { color:red }
    .styleSomething {
      background:yellow;
      font-style:italic;
      color:blue;
    }
    </style>
    darkgoku
    darkgoku
    Forumember


    Posts : 326
    Reputation : 3
    Language : English

    Solved Re: homepage problem

    Post by darkgoku 10/8/2014, 16:37

    i;; try this when i get home and ill update this if it doesnt work for me
    darkgoku
    darkgoku
    Forumember


    Posts : 326
    Reputation : 3
    Language : English

    Solved Re: homepage problem

    Post by darkgoku 10/8/2014, 16:41

    how do i make like a border around a word like forum or portal
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Solved Re: homepage problem

    Post by Ange Tuteur 10/8/2014, 16:56

    Create an element :
    Code:
    <span></span>

    add some text to that element :
    Code:
    <span>My texte</span>

    add a class to the element :
    Code:
    <span class="myElement">My texte</span>

    add a CSS rule to your inline sheet :
    Code:
    .myElement { border:1px solid #f00 }
    darkgoku
    darkgoku
    Forumember


    Posts : 326
    Reputation : 3
    Language : English

    Solved Re: homepage problem

    Post by darkgoku 10/8/2014, 16:57

    thank you this helped alot
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Solved Re: homepage problem

    Post by Ange Tuteur 10/8/2014, 17:20

    You're welcome.

    Is this solved ?
    darkgoku
    darkgoku
    Forumember


    Posts : 326
    Reputation : 3
    Language : English

    Solved Re: homepage problem

    Post by darkgoku 10/9/2014, 00:18

    um what do i put for the element
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Solved Re: homepage problem

    Post by Ange Tuteur 10/9/2014, 00:25

    Here's a list of HTML tags(or elements) that you can use :
    http://www.w3schools.com/tags/default.asp

    It can be like the tag in my example. <span> is inline and doesn't mess the layout up, unless you make major changes in the CSS.
    darkgoku
    darkgoku
    Forumember


    Posts : 326
    Reputation : 3
    Language : English

    Solved Re: homepage problem

    Post by darkgoku 10/9/2014, 00:45

    do i put the inline style sheet inside the html code or somewhere else
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Solved Re: homepage problem

    Post by Ange Tuteur 10/9/2014, 00:53

    Yes, you can place the inline style where you're writing HTML. Make sure that it is before all your elements that you're styling. This ensures that the style is ready before the HTML elements.

    Example :
    Code:
    <style type="text/css">
    .redText { color:red; }
    </style>
    Apples are <span class="redText">red</span>.
    darkgoku
    darkgoku
    Forumember


    Posts : 326
    Reputation : 3
    Language : English

    Solved Re: homepage problem

    Post by darkgoku 10/9/2014, 01:05

    is it possible if i give u the code i have can u put a  inline sheet in it then send it back and ill edit it
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Solved Re: homepage problem

    Post by Ange Tuteur 10/9/2014, 01:13

    Post it here, or send it by PM. Whatever you're more comfortable with.. Wink
    darkgoku
    darkgoku
    Forumember


    Posts : 326
    Reputation : 3
    Language : English

    Solved Re: homepage problem

    Post by darkgoku 10/9/2014, 01:43

    how do i make a text goto a link with the code u gave as a example
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Solved Re: homepage problem

    Post by Ange Tuteur 10/9/2014, 01:45

    You can use the anchor tag : <a>
    http://www.w3schools.com/tags/tag_a.asp

    example :
    Code:
    <a href="/forum">Forum</a>

    The above word links to the forum. href being the URL which the user is referred to, and "Forum" being the textual content.
    darkgoku
    darkgoku
    Forumember


    Posts : 326
    Reputation : 3
    Language : English

    Solved Re: homepage problem

    Post by darkgoku 10/9/2014, 02:02

    how do i put a link with t <a> and <span> on the same line
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Solved Re: homepage problem

    Post by Ange Tuteur 10/9/2014, 03:24

    You can place tags inside tags, for example :
    Code:
    <a href="/forum">
      <span>
        My text
      </span>
    </a>

    Minified :
    Code:
    <a href="/forum"><span>My text</span></a>

    This website does have a tutorial on HTML for beginners, if you haven't read it yet. It will explain all that you need to know : http://www.w3schools.com/html/
    darkgoku
    darkgoku
    Forumember


    Posts : 326
    Reputation : 3
    Language : English

    Solved Re: homepage problem

    Post by darkgoku 10/9/2014, 03:47

    how would i make the navbars like this http://www.forumotionpromotion.com/ the home and other buttons can u send me a code like that
    darkgoku
    darkgoku
    Forumember


    Posts : 326
    Reputation : 3
    Language : English

    Solved Re: homepage problem

    Post by darkgoku 10/9/2014, 04:55

    how do i make home,forum,updates under thepicture at the top and in the center

    homepage problem Homepa11


    Last edited by darkgoku on 10/9/2014, 05:39; edited 1 time in total
    darkgoku
    darkgoku
    Forumember


    Posts : 326
    Reputation : 3
    Language : English

    Solved Re: homepage problem

    Post by darkgoku 10/9/2014, 05:04

    how do i make home,forum,updates under thepicture at the top and in the center
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51499
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: homepage problem

    Post by SLGray 10/9/2014, 05:26

    Please use the edit button.



    homepage problem Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    darkgoku
    darkgoku
    Forumember


    Posts : 326
    Reputation : 3
    Language : English

    Solved Re: homepage problem

    Post by darkgoku 10/9/2014, 05:39

    i edited it can u plz remove the double post
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Solved Re: homepage problem

    Post by Ange Tuteur 10/9/2014, 14:34

    darkgoku wrote:how do i make home,forum,updates under thepicture at the top and in the center
    It needs to be after the image in the document. You can use either a break <br> or <div> tag to add elements onto a new line. If you're using a <div> tag you can add the text-align property to it to align the content within.
    darkgoku
    darkgoku
    Forumember


    Posts : 326
    Reputation : 3
    Language : English

    Solved Re: homepage problem

    Post by darkgoku 10/10/2014, 00:43

    well thnx
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Solved Re: homepage problem

    Post by Ange Tuteur 10/10/2014, 01:29

    You're welcome Smile

    Topic archived