Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!
  • Guest, before posting your code please take these rules into consideration:
    • It is required to use our BBCode feature to display your code. While within the editor click < / > or >_ and place your code within the BB Code prompt. This helps others with finding a solution by making it easier to read and easier to copy.
    • You can also use markdown to share your code. When using markdown your code will be automatically converted to BBCode. For help with markdown check out the markdown guide.
    • Don't share a wall of code. All we want is the problem area, the code related to your issue.


    To learn more about how to use our BBCode feature, please click here.

    Thank you, Code Forum.

Code Forum clone, not exactly. =).

x_c_x

Coder
Hi all. Just looking for some validation and tips on doing this better. I took a jab at it a few days ago as I like how the forum pages are designed and colors. This was off memory. First time I learned HTML, CSS and JS was back in 2011. Lol. As you'll see, I don't have all the elements in place as I couldn't remember how to style (place) them. I normally would have done this with float, the like. Perhaps I should be using flex/grid now? Appreciate the help! Thanks! =).

Code:
HTML:

<section>
    <a href="#">Front-End Development</a>
    <p>This section is for getting help with anything front-end related. This refers to
    anything that is visible to the user.</p>
   </section>     
   </div>
   <div id="panel2">
    <section>
    <a href="#">HTML & CSS</a>
    <p>All web development using HTML & CSS.</p>
    </section>       
  </div>
 
  CSS:
 
  #section1 {
    margin: 2px;
    padding: 5px 5px;
    width: 972.5px;
    background-color: black;
    border: 1px solid black;
    border-radius: 4px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: small;
    color: white;
    text-align: left;   
}

#section1 a {
    color: white;
    text-decoration: none;
}

#section1 a:hover {   
    text-decoration: underline;
}

#section2 {

    margin: 1px;
    padding: 15px 15px;
    width: 950px;
    background-color: rgb(156, 236, 212);
    border: 1px solid lightgray;
    border-left: 5px solid rgb(73, 199, 100);
    /*border-bottom: 1px solid lightgray;*/
    font-family: Arial, Helvetica, sans-serif;
    font-size: small;
    font-weight: bold;
    color: gray;
    text-align: left;   
}

#section2 a {
    color: black;
    text-decoration: none;
}

#section2 a:hover {   
    text-decoration: underline;
}

#section3 {

    margin: 1px;
    padding: 15px 15px;
    width: 950px;
    background-color: rgb(156, 236, 212);
    border: 1px solid lightgray;
    border-left: 5px solid rgb(73, 199, 100);
    /*border-bottom: 1px solid lightgray;*/
    font-family: Arial, Helvetica, sans-serif;
    font-size: small;
    font-weight: bold;
    color: gray;
    text-align: left;   
}

#section3 a {
    color: black;
    text-decoration: none;
}

#section3 a:hover {   
    text-decoration: underline;
}
 
Back
Top Bottom