Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Newbie needs help with css and php

Newbie needs help with css and php

Scheduled Pinned Locked Moved Web Development
databasehelpphpcssmysql
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kylo999
    wrote on last edited by
    #1

    Hi everyone! I'm just starting with web development and I am currently trying to recreate the Billboard website (in a way). I already have the basics and got the data from a mysql database and had them ordered the way I want to by reading a lot of internet articles and tutorials. Problem is, I don't know how to format it properly, the way I want it to. I have resized the photo elements and that's it. Here's my index page:

    	 $produce):
    	?>
    

    and my css:

    *{
    font-family: "Poppins", sans-serif;
    }

    body {
    margin: 0;
    padding: 0;
    }
    .header {
    padding: 25px 0;
    background-color: #000;
    }

    .bblogo img{
    display: block;
    width:200px;
    margin-left: auto;
    margin-right: auto;
    }

    .nav {
    padding: 15px 0;
    background-color: #333333;
    position: -webkit-sticky;
    }

    .nav .item{
    text-decoration: none;
    color: white;
    padding-right: 30px;
    }

    .nav .item:hover{
    text-decoration: underline;
    }

    .nav .active{
    color: #6b6b6b;
    text-decoration: none;
    padding-right: 30px;
    }

    .header, .nav {

    U 1 Reply Last reply
    0
    • K kylo999

      Hi everyone! I'm just starting with web development and I am currently trying to recreate the Billboard website (in a way). I already have the basics and got the data from a mysql database and had them ordered the way I want to by reading a lot of internet articles and tutorials. Problem is, I don't know how to format it properly, the way I want it to. I have resized the photo elements and that's it. Here's my index page:

      	 $produce):
      	?>
      

      and my css:

      *{
      font-family: "Poppins", sans-serif;
      }

      body {
      margin: 0;
      padding: 0;
      }
      .header {
      padding: 25px 0;
      background-color: #000;
      }

      .bblogo img{
      display: block;
      width:200px;
      margin-left: auto;
      margin-right: auto;
      }

      .nav {
      padding: 15px 0;
      background-color: #333333;
      position: -webkit-sticky;
      }

      .nav .item{
      text-decoration: none;
      color: white;
      padding-right: 30px;
      }

      .nav .item:hover{
      text-decoration: underline;
      }

      .nav .active{
      color: #6b6b6b;
      text-decoration: none;
      padding-right: 30px;
      }

      .header, .nav {

      U Offline
      U Offline
      User 13903287
      wrote on last edited by
      #2

      Hey, it's cool that you're learning by doing. I think that's the most important part :) working out your issues on your own will help you have a better understanding of what's wrong and how to improve it. As per your request for some articles/books, etc I recommend online courses. There's plenty of them out for free ATM you just need to know where to look :) 1. Interactive Coding for Beginners: What is CSS, HTML & Web Development[^] 2. Learn PHP Online: PHP Basics Explained in an Interactive PHP Tutorial[^] Good luck!

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups