Pulling my hair out

Associate
Joined
20 Oct 2012
Posts
457
Location
west sussex
Hi all im hoping someone can help me with what i think is a simple fix.
Im no web dev but getting into it slowly.. anyway im adding some bits on my dads website to help him out.
And im having a issue were text is not re sizing when i shrink my broswer window, but the images i put in are.
The reason the images are is because i wrapped the whole thing inc text into a div and its class="wrapper_2"
in css i have....

.wrapper_2 {
margin-right:auto;
width:1250px;
}

which as i say works fine for the images but not the text.
Here is the web page im trying to achieve this.....
http://www.lampspares.co.uk/wiring-a-lamp-base-for-the-first-time/

Please go gentle on the coding i know its not pretty but it kinda works for now lol as i say im learning.

thanks in advance.
 
Associate
OP
Joined
20 Oct 2012
Posts
457
Location
west sussex
ok thankyou so im adding this inline in the html section of the div? so under the style's part of this code??

<div><a onclick="window.open('http://www.lampspares.co.uk/bc-lamp...,resizable=yes,width=1200,height=900');return false;" href="http://www.lampspares.co.uk/bc-lampholders-without-switch/" target="_blank"><span style="color: #ff0000;"><img id="bc_un_switched_lampholder_image" class="bc_un_switched_lampholder_image" style="border: 3px solid black;" title="BC Un-Switched Lamp holder" src="http://www.lampspares.co.uk/product_images/uploaded_images/1003e-22091.1443037880.1280.1280.jpg" alt="1003e-22091.1443037880.1280.1280.jpg" width="144" height="144" /></span></a></div>

but remove the end span
 
Back
Top Bottom