wright67uk
Members-
Posts
454 -
Joined
-
Last visited
Everything posted by wright67uk
-
Just a quick tip, ever so often in dreamweavet press ctrl+s and then press f12. Also use a split screen and look at what your code does when your designing, good luck!
-
That's because wrapper is 1052 Header is 100% of this so your line will also be 1052 Put header outside of wrapper possibly or adjust the size of your image
-
That works well, is there a way to fill the empty space when I'm not hovering, either by making a background image for ul or by getting each hovered image to stick?
-
We cant see your code? What doctype do you have and is your server case sensitive as in linux. I wonder if your css file is loading up? More info please.
-
That's what i was thinking and then play around with .hr css
-
page1 adopts css of page2 when being included via php
wright67uk replied to meltingpoint's topic in CSS Help
Under body {background-color: grey;} Add #div1 {background-color: grey; width:100%; height:100%;} #div2 {background-color: blue; width:100%; height:100%;} Now put your content into; <body> <div id ="div1"> content here</div> And the same for div 2 on page 2 -
page1 adopts css of page2 when being included via php
wright67uk replied to meltingpoint's topic in CSS Help
Why not contain everything within a div named eg. #container and give it a background color. Use this on page one. Eg. Div id = container.... And on page 2 #container2. div id = container2 This way you will only have one css and nothing will get muddled up as the two areas in question will have different names. -
page1 adopts css of page2 when being included via php
wright67uk replied to meltingpoint's topic in CSS Help
Why can't you seperate your css and simply refrain from calling it? -
Can anybody help a little with my css used on the list below; Ive put it on the web; www.1pw.co.uk/viewer2 When an image is seen in #gallery li a img it is shrunken down to 30px the width of its container. I was hoping that I would be able to display just the first 30px of my image rather than for it to be squashed to 30px As you can see I have tried overflow:hidden but without any change. If you hover over the 1st image you will see my aim. any ideas? #gallery { padding:0; margin:0; list-style-type:none; overflow:hidden; height:320px; width:630px; border:1px solid #888; background:#fff url(windows/win_back.gif); } #gallery li { float:left; } #gallery li a { display:block; width:30px; height:320px; float:left; text-decoration:none; border-bottom:1px solid #fff; cursor:default; overflow:hidden; } #gallery li a img { height:320px; width:30px; border:0; overflow:hidden; } #gallery li a:hover { background:#eee; width:450px; } #gallery li a:hover img { width:450px; } <ul id="gallery"> <li><a href="#nogo"> <img src="1.jpg" alt="#1" title="#1" /></a></li> <li><a href="#nogo"> <img src="2.jpg" alt="#2" title="#2" /></a></li> <li><a href="#nogo"> <img src="3.jpg" alt="#3" title="#3" /></a></li> <li><a href="#nogo"> <img src="4.jpg" alt="#4" title="#4" /></a></li> <li><a href="#nogo"> <img src="5.jpg" alt="#5" title="#5" /></a></li> <li><a href="#nogo"> <img src="6.jpg" alt="#6" title="#6" /></a></li> <li><a href="#nogo"> <img src="7.jpg" alt="#7" title="#7" /></a></li> </ul>
-
Sliding doors buttons works great but I need a larger image
wright67uk replied to wright67uk's topic in CSS Help
Yes thankyou. I will ensure to do this next time, -
Sliding doors buttons works great but I need a larger image
wright67uk replied to wright67uk's topic in CSS Help
I've done some reading and firebug along with its many add-ons looks like a very good tool indee, I think you have opened some doors for me, thankyou. -
Sliding doors buttons works great but I need a larger image
wright67uk replied to wright67uk's topic in CSS Help
Thankyou I shall look at firebug. Those particular lines of code do not directly have any widths, line heights etc that you talk about. I pressume you mean I need to look at their patents? -
Would both of the below snippets do the same job, if so why are both ways taught in text books, can one method do somthing that the other cannot? mysql_fetch_array($result, MYSQL_ASSOC)) And... mysql_fetch_assoc($result)
-
Please have a look... comments are really appreciated
wright67uk replied to etdsbastar's topic in Website Critique
Clean site, awful use of your carousel, bounces all over the place! Carousel buttons are in the wrong place, and your ad that pops up is annoying me. Viewed on HTC Android phone. -
I don't like your grey text on black bg, The layout works really well on my HTC Android phone
-
With the below code I am using a sliding doors technique which uses a single image to create some buttons. Ive added a second image blue.png so that I can also add a hover state. Everything works really well, but Id like to know what I would have to do If I were to add a higher image. At current Im using an image which is W493 H24, ive tried replacing the image with a button W493 H48, but I get all sorts of problems, mainly the fact that the bottom of the button dissapears. ul {padding: 5px;margin: 10px 0;list-style: none;background-color: f2f2f2;border-bottom: ;float: left;clear: left;} ul li {float: left;display: inline; /*For ignore double margin in IE6*/margin: 0 10px;} ul li a {text-decoration: none;float:left;color: #666; cursor: pointer; font: 600 11px/22px "Arial", Helvetica, sans-serif;} ul li a span {margin: 0 10px 0 -10px;padding: 1px 8px 5px 18px;position: relative; /*To fix IE6 problem (not displaying)*/float:left;} ul.blue li a.current, ul.blue li {background: url(grey.png) no-repeat top right;color: #0d5f83;} /*STANDARD STATE right side of rectangle*/ ul.blue li a.current span, ul.blue li span {background: url(grey.png) no-repeat top left;} /*STANDARD STATE left side of rectangle*/ ul.blue li a.current, ul.blue li a:hover {background: url(blue.png) no-repeat top right;color: #0d5f83;} /*HOVER STATE right side of rectangle*/ ul.blue li a.current span, ul.blue li a:hover span {background: url(blue.png) no-repeat top left;} /*HOVER STATE left side of rectangle*/
-
I'm getting a weird offset on my data output...
wright67uk replied to Jim R's topic in PHP Coding Help
Should that be <--- 1 -
Well they don't teach that in my text books! Brilliant none the less. What's best a freak or an addict.?
-
Which of the below syntax is the better to be using? $bal = 100; if($bal > 100) { echo "you have over 100 pounds; } else { echo "you have less than 100 pounds"; } if ($bal > 100); echo "you have over than 100"; else ; echo "you have less than 100"; endif;
-
How about putting each result into an array and then mysql_query( "select * from ourtablename where col1=" . $_POST['box1'][2][3]. " and col2='" . $_POST['box2'][2][3] . "'");
-
Better alternative to Google business mail
wright67uk replied to tibberous's topic in PHP Coding Help
Can't you do this from your own hosting/domain plan? You@yoursite.com ? -
I pressume the url is made from using post within a form? Can you not just post eid before posting anything else?
-
If each checkbox were to have a value and a variable $box1 = $_POST["box1"]; $box2 = $_POST["box2"]; $box3 = $_POST["box3"]; Then could your query be; mysql_query("select data WHERE $box1, $box2 = 'no' $box3 = 'yes' ") and then set up your database to have to have columns with either yes or no within in them? You will have to work on the sql side of things, as I'm not sure about the correct synyax.
-
websites that know your physical location
wright67uk replied to wright67uk's topic in PHP Coding Help
Yes I have but I seem to learn things I've found on Google, only to come on here realising I've learnt things arse about face. I'm not expecting a page of code but rather the theory behind the correct way of finding out which town my user is sitting in -
How is it possible for a website to know my physical location? Some websites I've seen will have ads such as; meet singles in "HOMETOWNGOESHERE" I'm guessing this kind of info is found from my Ip address? Has anyone ever done anything like this in php, I'm interested to know how this works.