Jump to content

TylerL

Members
  • Posts

    12
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

TylerL's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. So I've been trying to make my site tableless for the past two days and Im slowly getting there. [a href=\"http://tylerleisher.com/\" target=\"_blank\"]http://tylerleisher.com/[/a] -- The design with tables, this is what I want my site to look like [a href=\"http://tylerleisher.com/notables/index.php?css=default\" target=\"_blank\"]http://tylerleisher.com/notables/index.php?css=default[/a] -- The design without tables. My question is, what is the best way to make my menu look like that, while still having independent links. Right now, I have one long <div> but that isnt working out. I also need to know how to center vertical-align it within the image. My CSS can be seen here: [a href=\"http://tylerleisher.com/notables/default.css\" target=\"_blank\"]http://tylerleisher.com/notables/default.css[/a] Thank you!
  2. It's really not that hard to learn if you know (X)HTML, its mainly just declaring everything on another file/style sheet to accomplish the same things.
  3. TylerL

    2 Warnings

    So I tried to validate my CSS, and it worked out fine but I get two warnings and I would really rather have a clean slate then have 2 warnings to worry about screwing up somewhere... Heres the info: [!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]Line : 4 (Level : 1) You have no color with your background-color : body Line : 10 (Level : 1) You have no color with your background-color : .main [/quote] [code]body {     margin-top: 0px;     padding: 0px;     background-color: #C39300;     text-align: center;     height: 100%;     } .main {     background-color: #B2E7FF;     height: 100%;     width: 860px;     } .left {     height: 100%;     background-image: url(left.gif);     width: 32px;     } .right {     height: 100%;     background-image: url(right.gif);     width: 32px;     } div#cen {     text-align: left;     width: 860px;     margin: 0 auto;     height: 100%;     }[/code] [a href=\"http://www.tylerleisher.com/test/\" target=\"_blank\"]http://www.tylerleisher.com/test/[/a] is my site. Any ideas as to why it would be giving me these two errors? The color shows up and works fine...
  4. Well what's the purpose of knowing about most of them, or any of them for that matter?
  5. PHP is generated BEFORE everything and is done on the server side, thats why you dont see any PHP code or anything when it is generated in pure HTML... Therefore, the example you gave is correct, for the most part, in that that will select which color to use in terms of the date, you may want to run something that checks to see if its any certain date, and if so set it to that color, if it isnt, set it to the default color and print it that way. This is how most sites have different modules that allow for color changes, they simple have a thing like: echo $background["color"]; Where $background is a query into a database of the different possible colors and usernames...it then picks out their color selection and replaces all the coding you did with the word "brown" thus making the background color brown for that selected user. :)
  6. Without having direct access Im not sure if thats possible? Unless you copy/paste their blog submit form with all their hidden fields and pass it through their posting script as the action..
  7. So, I've been trying to get into PHP and programming in general but I can't seem to do it. I'm an avid reader, an avid programmer who has XHTML, HTMl, XML, CSS and PHP under my belt but a lot of the things don't really make sense to me. Like the news posts on this site, stating something like a new Zend Framework has been released, what does all this mean? What does it have to do with things like programming php, etc. Keep in mind Im a newb to the community, not to programming in general :)
  8. Show your current code and it'll be easier to help you. It's probably a syntax error.
  9. [code]$Link = mysql_connect ($Host,$User,$Password);           or die (mysql_error());[/code] That should tell you your issues. I believe theres a query function as well that allows you to set a specific database...I think it's: bool mysql_select_db ( string database_name [, resource link_identifier] ) [a href=\"http://us2.php.net/manual/en/function.mysql-select-db.php\" target=\"_blank\"]http://us2.php.net/manual/en/function.mysql-select-db.php[/a] Make sure you are using the proper database name.
  10. So am correct in thinking that in order to be a versatile and well established web programmer, you're going to need to learn: - XHTML - CSS - AJAX - PHP/MySQL Did I miss any or are those the needed ones? AJAX takes care of JavaScript and XML, PHP takes care of the backend of things and CSS/XHTML takes care of the visual front end.. did I miss something?
  11. Yeah it checks if its a value or if its empty. Also, place: session_start(); at the top of your file, or else you can't use sessions. Try that, if it doesnt work let me know and I have a few other ideas as to what it might be.
  12. Do you mean radio BUTTONS or is there some radio field? I cant seem to figure out your question.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.