Solved

Picture outside the box ?

Posted on 2013-02-01
2
283 Views
Last Modified: 2013-02-01
Hi!

My webtestpage is:
http://www.zoftzircus.no/MemberTest/index.php

The problem is that my picture is outside the box:

   <div class="art-hovedbilde"><img alt="" src="./images/<?php echo $hovedbilde1;?>" /></div>

Open in new window

The CSS lock like:

.art-hovedbilde
{
  width:690px;
   padding:0px;
   border:1px solid #8099b3;
   background-color:#ffffff;
}

How do i get the picture to fit inside the white frame ?
0
Comment
Question by:team2005
2 Comments
 
LVL 38

Accepted Solution

by:
Tom Beck earned 500 total points
ID: 38843301
Just give the image a width of 675.

<div class="art-hovedbilde"><img width="675" alt="" src="./images/<?php echo $hovedbilde1;?>" /></div>
0
 
LVL 2

Author Closing Comment

by:team2005
ID: 38843460
thanks
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question