Everything posted by bazmati
-
IE7 Nav Problem
These don't seemed to have worked, anyone got any other suggestions.
-
help modify the page to work in ie6
How do you use behaviours, i've just noticed my png images have like a shaded box over them in IE6.
-
IE7 Nav Problem
Cheers Noxx i'll give that a try.
-
IE7 Nav Problem
I've just created my first site with XHTML & CSS and it validates, however in IE7 my Navigation bar which should sit flush with the top of the page gradually jumps out of position even though it works fine in Firefox, Safari. My site is www.bazhodson.co.uk just wondering if anybody knows whats causing this, i'll copy my CSS file below. body { background-image: url(images/background.jpg); background-position: top center; background-repeat: no-repeat; font: 85% arial, helvetica, verdana, sans-serif; line-height: 1.25; margin: auto; color: #ffffff; } b { color: #f1e73a; } a { outline: none; } h1 { color: #f1e73a; font-weight: bold; font-size: 1.6em; } h2 { color: #f1e73a; font-weight: bold; font-size: 1.4em; } h3 { color: #f1e73a; } img {border: none;} #container { width: 750px; margin: auto; } #header { margin-top: 15px; width: 300px; height: 50px; float: left; } #nav { height: 125px; width: 450px; overflow: hidden; float: left; } #nav ul, li { padding: 0px; margin: 0px; list-style: none; } .home { display: block; width: 90px; height:125px; background: url(images/navbar/home.png); background-repeat: no-repeat; background-position: -180px 0px; overflow:hidden; float: left; } .about { display: block; width: 90px; height:125px; background: url(images/navbar/about.png); background-repeat: no-repeat; background-position: -180px 0px; overflow:hidden; float: left; } .services { display: block; width:90px; height:125px; background: url(images/navbar/services.png); background-repeat: no-repeat; background-position: -180px 0px; overflow:hidden; float: left; } .portfolio { display: block; width:90px; height:125px; background: url(images/navbar/portfolio.png); background-repeat: no-repeat; background-position: -180px 0px; overflow:hidden; float: left; } .contact { display: block; width:90px; height:125px; background: url(images/navbar/contact.png); background-repeat: no-repeat; background-position: -180px 0px; overflow:hidden; float: left; } a.home, a.about, a.services, a.portfolio, a.contact { background-position: 0px 0px; } a.home:hover, a.about:hover, a.services:hover, a.portfolio:hover, a.contact:hover { background-position: -90px 0px; } #intro { background: url(images/intro.png); background-repeat: no-repeat; margin-top: 20px; width: 750px; height: 155px; float: left; } #info_box { margin-top: 130px; width: 750px; height: 400px; overflow: hidden; } a:hover{ text-decoration: underline; color: #f1e73a; } #info_box ul li { padding: 0px; margin: 0px; list-style: square; } #contact_text{ margin-top: 20px; margin-left: 70px; width: 300px; float: left; } #contact_form{ margin-top: 20px; margin-left: 50px; width: 300px; float: left; } #contact_form b{ color: #ffffff; } #footer { margin-top: 40px; display: block; background-color: #36586e; width: 750px; height: 16px; font-size: 10px; color: #ffffff; padding: 5px; } #footer a { color: #ffffff; } #footer a:hover { color: #f1e73a; } #footer #altnav { width: 350px; float: right; text-align: right; }
-
First Website
Tried this but didn't seem to work, also "-moz-outline-style: none; } " stops my css from validating.
-
First Website
No not changed anything yet.
-
First Website
Thanks for the feedback Final, whats the best way to get rid of the border.
-
First Website
Hi guys, i put my first website on here a week or so ago to see what people thought of my coding, i'm now working more on the ldesign of the site and just wondered what people thought so far. My site is: www.bazhodson.co.uk
-
Redirect from email form
Cheers Skidz, Pat24 thats sorted it. Is there anyway to have an alert box saying the datas been submitted as well as redirecting.
-
Redirect from email form
There's one line of white space.
-
Redirect from email form
There isn't anything before that,
-
Redirect from email form
Hi Pat just tried that but got this error: Warning: Cannot modify header information - headers already sent by (output started at /home/sites/bazhodson.co.uk/public_html/mailer.php:2) in /home/sites/bazhodson.co.uk/public_html/mailer.php on line 13 this is my code: <?php if(isset($_POST['submit'])) { $to = "bazmati@mac.com"; $subject = "Contact Details"; $name_field = $_POST['name']; $email_field = $_POST['email']; $comments = $_POST['comments']; $body = "From: $name_field\n E-Mail: $email_field\n comments:\n $comments"; header("Location: index.html"); } else { echo "blarg!"; } ?>
-
Redirect from email form
Thanks for that Pat, didn't think it would be so simple.
-
Redirect from email form
Hi All i've got a simple php contact form on my site, when the details have been submitted a new page comes up stating that fact but you then have to navigate back to the website, how do i get it to automatically redirect to my homepage.
-
First Website
Thanks TomCash, yeah just noticed that myself, i made a couple of alterations this morning that stopped it from validating need to go back and put them right.
-
First Website
Thanks for the feedback guys I'm gonna go away and work on the design. I was worried about crating a nice design and then it not working properly due to the code, now that I know that my code is up to scratch I can really think about the design.
-
First Website
Cheers for the feedback Pedro, i'm going to concentrate more on the desing later the main aim was to make sure i could get my code working ok.
-
First Website
Hi all i've finally put together my first website www.bazhodson.co.uk and wondered if i could get some feedback. i've concentrated more on getting my coding right so the content will almost certainly change. thanks
-
Contact Form
Hi Guys I'm putting a contact form on my website that i want visitors to fill in and then it will send me an email, I've got the html sorted but just wondered if there were any templates for the php file or whether i'd have to set up my own.
-
Basic Form
Cool cheers mate, would the hosts of my site have certain scripts.
-
Basic Form
Cheers Tel, just had a quick flash through that gonna go through it in more detail later, am i right in thinking that any form has to be sent to the server and then that sends you the data.
-
Basic Form
Hi all i'm just putting together my first website and on the contact page want a simple form, nothing fancy just somewhere for people to put personal details that are then emailed to me. What technique would you recommend.
-
Navigation Accessibility
Hi all, in my navigation i have 5 button images which i've placed as background images in css and then have an unordered list in html. I'm trying to get it so that when you view web page with no images that the text in the list shows, the problem i'm having is that in normal view the text is appearing over my buttons, how can i make it disappear.
-
Border around image link
Cheers for the advice traxor
-
Border around image link
Thanks frenchbird., feel a little silly now didn't think it would be so simple.