Jump to content

makka

Members
  • Posts

    88
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

makka's Achievements

Member

Member (2/5)

0

Reputation

  1. BINGO that one was annoying me to hell lol, thanks buddy dunno why i didn't think of it.. works fine in FF, chrome and IE now ty vm ill open i new thread when i get annoyed again
  2. #nav { height: 30px; width: 960px; line-height: 30px; margin: 0 0 1px 0; overflow: hidden; list-style: none; } #nav ul { margin: 0; padding: 0; } prob is thou it won't display across the screen right its down the page also there is no style to it its just pure links now, also as dropfaith said it won't validate
  3. just a thault i tried it in IE and it works fine :S that's a 1st
  4. Bump still need some help
  5. ive got another prob that i can't get rid of to save my life atm, basically after ive added my nav bar in its floating to the right and i cant get it to stick to the main div (images will explain) body { background: #000000 url('images/bg.jpg') top center repeat-y; background-attachment: fixed; margin: 0px 0px 0px 0px; padding: 0px; } #main { width: 960px; margin: 0 auto 0 auto; } #head { width: 960px; height: 180px; background: url('images/head.jpg') top center no-repeat; } #nav { height: 30px; width: 960px; line-height: 30px; margin: 0 0 1px 0; overflow: hidden; list-style: none; } #nav ul { margin: 0; padding: 0; } #nav li { width: 96px; height: 30px; float: left; background: url(images/nav.jpg) 0 0 no-repeat; } #nav li a { height: 30px; width: 96px; color: #ffffff; display: block; padding: 0 15px; float: left; text-decoration: none; } #nav li a:hover { background: url(images/nav.jpg) 0 -30px no-repeat; text-decoration: none; } #nav li.selected a, #nav li.selected a:hover { background: url(images/nav.jpg) 0 -60px no-repeat; } <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> <title>Xtremetutorials</title> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <body> <div id="main"> <div id="head"></div> <ul id="nav"> <li><a href="#">Home</a></li> <li><a href="#">Classroom</a></li> <li><a href="#">Search</a></li> <li><a href="#">News</a></li> <li><a href="#">Media</a></li> <li><a href="#">Downloads</a></li> <li><a href="#">Submit</a></li> <li><a href="#">Forum</a></li> <li><a href="#">Members</a></li> <li><a href="#">Contact</a></li> </ul> </div> </body> </html> 1st image is just the prob so you can see it and the second is using the FF web dev addon to outline the block level elements (aka the divs) with out using the nav div the main div aligns correctly (just inside the bg image's line same as the left hand side outline) i think the nav bar is pushing it out but soon as i can get it to align right it should sort it self out [attachment deleted by admin]
  6. hey thanks after some tweaking i got it to work using auto, the reason im using 1000px over 100% is because i use a res of over 1600 and i have alot of the BG colour showing through each side but my BG image is 1024 with a 100px area in the centre for the content. also with the 800x600 res prob there is not much i can do except go smaller witch for my case i don't really want to do
  7. hey, im having a tough time getting my Divs to align up how i want them to since im designing it from my 1600 odd res pc im getting different results when i change my res or drop and drag onto a smaller monitor (dual screen). an example being when i position my head image i want it to centre up but since it won't i had to put a margin on it i used a % instead of pixels but it still changes and bumps over alot more on a smaller res or monitor. also probably a stupid question but getting divs to align to the centre im finding tough i think it would be alot easer if i could just make a div, set it to 1000px and put it into the centre atleest i can put everything in there and it will not disrupt my BG or go out side of the "zone" body { width: 1000px; background: #000000 url('images/bg.jpg') top center repeat-y; margin: 0px 0px 0px 0px; padding: 0px; } #main { width: 1000px; } #head { width: 1000px; height: 180px; background: url('images/head.jpg') top center no-repeat; margin: 0 0 0 34%; } <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> <title>Blank</title> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <body> <div id="main"> <div id="head"></div> </div> </body> </html>
  8. web 2.0 dude, its made by using .htaccess. there are a few different ways of doing it, take a look on google for it
  9. thanks, it makes seance today when i look at it dunno what happened last night
  10. yeah i think that's what i wanted.. more or less to see if the username has been taken and if it has it would return false and if its free it would return true... anyway to be honest i don't know what i want atm... bed time i think its been a long day
  11. hey there i kinda feal stupid asking this in the 1st place since normally i can do this with no hitch 1st time, but today i cant think to save my life more or less i just want to check to see if a username has been taken function dose_user_exist($username) { db_connect(); $query = "SELECT id FROM users WHERE username = '$username'"; $result = mysql_query($query); if (mysql_num_rows($result) == 0) { return true; } else { return false; } } $username = 'Makka'; if(dose_user_exist($username)) { echo 'yes'; } else { echo 'no'; } if im having a thick day just slap me and kick me in the right direction please [edit] okey is this just me and this thing is actually working i really can't tell... im going to leave this for tonight since im clearly not in the right mind to do it and ill come back tomorrow and see how much of a idiot ive been [/edit]
  12. hey there, im slightly confused in what your asking, can you post your script? is there a problem when the email gets to you there is no email to reply to (the senders email that they have input into the form) you just get 'online.submit@[mydomain.com]'?
  13. yeah, thanks for those links, i saw those yesterday and i think ill end up going somewhere in the middle so it looks good on 1024 and still is readable with out scrolling across to much or at all on on 800'sill take a look into elstic layouts and see where i come up. if i come across any other questions ill ither bump this up or post a new thread... ill still be watching this to see if anyone else and any other cool idea's, tips, or what ever thanks for the help so far
  14. yeah i realised that whilst taking a bath just now, except since i use images in my CSS file eg header, footer's, main bg (but that would be on repeat id have to work out a number that is large enough for a pattern but the correct size to fit into both res's on repeat), fonts, buttons, ect... any ideas?
  15. hey there, well i just have a few questions ive picked up on since I've been going to collage... my collage is still using the 800 by 600 res but at home I'm using 1280 by 1024 and a 800 by 600, i tend to notice most websites that are for large company's tend to scale up very nice but I always get 2 nice chunks on each side of back ground image or colour on my designs when I view them on 1280 by 1024 (there designed in 800 by 600) so to put it bluntly what is the correct way of getting it looking good / working correctly
×
×
  • 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.