Jump to content

Quinnie11

Members
  • Posts

    7
  • Joined

  • Last visited

Quinnie11's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. Mate, you're a legend. You've completely managed to solve my problem and in the process have changed the design of my site! I had come to the conclusion I'd have to use a single colour as the background then put that colour around the shirt image using paintshop, which is why my site currently uses images using this technique. Now I'm going to give in to my client's original thought and use a paint shop pro texture as a background.Anyone interested the url is www.ulteriormotifclothing.co.uk I haven't changed the images yet though, too much other site maintainence to do first.TQ
  2. Quinnie11

    fwrite

    Just written my first script very simple all I want is a form that will write to a text file. I've got it all working but it overwrites the existing data every time the form is submitted. How can I get it to either add the data to the end of the existing file or create a new file for each time the submit button is pressed? <form action="thanks.php"method="post"><textarea rows="10" cols="35" name="custom"></textarea><br /><input type="submit" value="Submit" /></form> <?php$file = fopen("test.txt","w");echo fwrite($file,$custom);fclose($file);?>
  3. Thanks everyone that was all great help. I'm finally begining to "get" css but relative positioning and floats still confuse me. Due to time issues I absolutely positioned all the image divs into three columns but they were positioned absolutely relative to the whole page not the div they were in. <html><div id="centrecontent"> <div id="one"> </div> <div id="two> </div></div></html>css:#one { position:absolute; left:439px; top:225px;}With this code div one is displayed 439px from the left of the screen and 225px from the top of the screen wereas I thought they'd be displayed 439px from the left and 225px from the top of #centercontent.
  4. I have a three column layout and I've just put a lot of new divs within the div #centercontent so I can try and arrange another three columns within the center div. I've relatively positioned the divs but they still appear below each other.Any ideas? #one { position:relative; left:15px; top:15px;}#two { position:relative; left:15px; top:15px;}#three { position:relative; left:15px; top:15px;}#four { position:relative; left:15px; top:15px;}#five { position:relative; left:15px; top:15px;}#six { position:relative; left:15px; top:15px;}
  5. Quinnie11

    Colour

    In the style sheet for my site I use the colour #404040 but when I put 40,40,40 rgb value into paintshop pro the colours dont match. Any ideas?Sorted it now just put #404040 into the html code bit of paintshop pro's pallette. Turns out the colours actually 64,64,64.
  6. I'm pretty sure this isn't possable but I just want to check, is there anyway of saving transparency into an image? For example I'm currently designing a site for a t-shirt company and I want the images of the t-shirts to be "t-shirt shaped". Basically I want the background image on the site to be all round the shirt, not the shirt in a white rectangle and the background image around that.
  7. I have an image as the background image on my site which is white on the right half. I want to but text over the background image but have the text only fill the left half of the page. (i.e two columns over the background image with the right one being blank. My page is formatted using css.
×
×
  • Create New...