PDA

View Full Version : Website from picture



Mithrandir
01-17-2008, 22:51
I've designed a site in Photoshop something like below,
https://img138.imageshack.us/img138/3255/examplefv7.jpg (https://imageshack.us)

So basicly I want the site to look exactly like that, but with Iframes and links.
where I want 1,2,3 to be links to change the big Iframe, how can I accomplish to get the links and the Iframes where I want them? it's a positioning question I guess...

edit: I know HTML, and know of CSS (but can't write it myself). So it shouldn't be too difficult or I get lost. :help:

Papewaio
01-17-2008, 23:33
Google is your friend:

http://www.w3schools.com/tags/tag_iframe.asp

Papewaio
01-17-2008, 23:40
Then it is a matter of using a table or some other formating.

For instance from that same website and using tables:

<table border="1">
<tr>
<td><iframe
src ="/default.asp">
</iframe>
</td>
<td><iframe
src ="/default.asp">
</iframe>/td>
<td><iframe
src ="/default.asp">
</iframe>/td>
</tr>
</table>

That would be 3 cells across with the same iframe in each.

Papewaio
01-17-2008, 23:43
This would get a single Iframe on oneside and two on the other:

<table border="1">
<tr>
<th rowspan="2"><iframe
src ="/default.asp">
</iframe></th>
<td><iframe
src ="/default.asp">
</iframe></td>
</tr>
<tr>
<td><iframe
src ="/default.asp">
</iframe></td>
</tr>
</table>

Mithrandir
01-18-2008, 17:52
Thx Pape but with tables you never have the freedom to get the elements exactly where you want, and I get lost when I want to edit something after a while because of all the tags.

But I managed, CSS isn;t that hard after all.