Ik heb een layout via css gemaakt, en als je de window resized, dan gaat de inhoud mee, wat ook moet. Maar zodra de window kleiner wordt dan de layout, wordt de layout er aan de linker kant buiten geduwt, zodat alles wat links staat niet meer zichtbaar is.
test het zelf: http://home.wanadoo.nl/dinkela/portfolio/index.htm
IK denk dat het door de absolute positioning in m'n css komt, maar ik weet het niet zeker, alles wat ik geprobeerd heb resulteerde in een mislukking.
Hier mijn CSS:
en m'n html
Zou graag wat hulp krijgen, aangezien het voor mensen met lage resoluties niet echt prettig is.
test het zelf: http://home.wanadoo.nl/dinkela/portfolio/index.htm
IK denk dat het door de absolute positioning in m'n css komt, maar ik weet het niet zeker, alles wat ik geprobeerd heb resulteerde in een mislukking.
Hier mijn CSS:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
| /* IMPORTANT */
/* This design is not a template. You may not reproduce it elsewhere without the
designer's written permission. However, feel free to study the CSS and use
techniques you learn from it elsewhere. */
/* basic elements */
html {
margin: 0px;
padding: 0px;
}
body {
background: #9F9282 url(img/bg_container.gif) repeat-y center;
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
margin: 0px;
padding: 0px;
}
p {
color: #575757;
font-size: 10px;
margin-top: 0px;
text-align: justify;
}
h3 {
background: White url(img/puce02.gif) no-repeat left;
margin-top: 70px;
margin-bottom: 8px;
font-weight: bold;
margin-left: 5px;
}
h3 span {
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
/*color: #514A42;*/
color: Black;
text-transform: uppercase;
font-size: 11px;
letter-spacing: 5px;
margin-left: 32px;
}
a:link, a:visited {
color: #000;
text-decoration: none;
text-transform: uppercase;
}
a:hover, a:active {
text-decoration: underline;
color: #000;
}
/* specific divs */
#container {
position: absolute;
width: 460px;
left: 50%;
margin-left: -370px;
margin-top: 260px;
}
.resources {
display: none;
}
#pageHeader { display:none }
/*#quickSummary {
background: #9F9282;
border-color: #666;
border-style: dashed;
border-width: thin;
margin: 20px 10px 5px 10px;
padding: 5px 5px 2px 5px;
width: 440px;
}*/
#quickSummary {
background: White;
margin: 20px 10px 5px 10px;
padding: 10px 10px 10px 10px;
width: 440px;
}
#quickSummary p {
color: Black;
}
.p5 {
margin: 50px 0px 30px 40px;
color: Black;
font-size: 11px;
text-transform: uppercase;
}
#preamble {
padding-left: 10px;
}
#update {
padding-left: 10px;
margin-bottom: 40px;
}
#linkList {
position: absolute;
top: 0px;
width: 700px;
}
#linkList2 {
position: absolute;
top: 0px;
width: 700px;
}
#lselect {
position: absolute;
padding: 0;
width: 270px;
margin: 20px 10px 5px 460px;
font-size: 10px;
}
#lselect li a:link, #lresources li a:visited {
color: #000;
font-size: 10px;
/*text-transform: uppercase;*/
text-decoration: underline;
}
#lselect li a:hover, #lresources li a:active {
color: #000;
text-decoration: none;
background-color: White;
}
#lselect a:link.c, #lselect a:visited.c {
color: #000;
text-transform: uppercase;
text-decoration: none;
}
#lselect a:active.c, #lselect a:hover.c {
text-transform: uppercase;
text-decoration: underline;
}
#lselect ul {
margin: 0px;
padding: 0px;
}
#lselect li {
background-image: url(img/bglist01.gif) ;
list-style-type: none;
margin-left: 20px;
padding: 4px 4px 0px 5px;
height: 35px;
}
.select {
display: none;
}
#lmenu {
position: absolute;
top: -15px;
width: 690px;
}
#lmenu ul {
display: inline;
}
#lmenu li {
background: transparent url(img/ico01.gif) no-repeat left;
display: inline;
margin: 0px 5px 0px 5px;
}
#lmenu li a:link, #lmenu li a:visited {
margin-left: 12px;
color: #000;
font-size: 9px;
text-transform: uppercase;
text-decoration: none;
}
#lmenu li a:hover, #lmenu li a:active {
color: #06F;
text-decoration:underline;
background-color: White;
}
#extraDiv1 {
background: url(img/top.jpg) no-repeat;
position: absolute;
width: 748px;
height: 241px;
left: 50%;
top: 0px;
margin-left: -374px;
}
.accesskey {
text-decoration: underline;
} |
en m'n html
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<meta name="author" content="Vincent Dinkela" />
<meta name="keywords" content="design, angeloonie, art, vincent, dinkela, graphic design, photoshop, visual, display" />
<meta name="description" content="An online album displaying the artwork I have done" />
<meta name="robots" content="all" />
<title>Angeloonie: Portfolio</title>
<style type="text/css">
@import "css.css";
</style>
</head>
<body id="portfolio">
<div id="container">
<div id="intro">
<div id="pageHeader">
<h1>Angeloonie: Portfolio</h1>
<h2>The artist inside</h2>
</div>
<div id="quickSummary">
<p class="p1">Over the past years I have loved working on images, giving them new looks, creating my own or whatever I liked. I never had a place to show them, untill now. In my portfolio you can find all the pieces I made, wallpapers, layouts. avatars, you name it, it's here. Unfortunately I've lost my first creations, but the ones from this year are available. All images are created/edited in Adobe Photoshop 7.0 and Adobe ImageReady 7.0. A few images are created with the help of tutorials, but most of them are by my own inspiration. I hope you'll enjoy viewing my works.</p>
</div>
</div>
<div id="update">
<div id="nov262004">
<h3><span>Update: 26-11-2004</span></h3>
<p class="p1">Things are starting to take shape now, I can see this site getting more and more to my liking. It's not finished yet, I'm still working on the index page, let alone the content pages.</p>
<p class="p2">Meanwhile, feel free to check my <a href="http://www.angeloonie.tk">personal site</a> for more nonsense.></p>
</div>
<div id="nov242004">
<h3><span>Update: 24-11-2004</span></h3>
<p class="p1">I recently finished my first design for a portfolio, but I didn't feel satisfied with the result. To begin with it was too standard, a bit dull and not very attractive to look at. So here I am, making an entirely new version. I'm coding the pages with valid XHTML 1.0 Strict and valid CSS 1.0.</p>
<p class="p2"><a href="http://validator.w3.org/">[img]"http://www.w3.org/Icons/valid-xhtml10"[/img]</a><a href="http://jigsaw.w3.org/css-validator/">[img]"http://www.w3.org/Icons/valid-css"[/img]</a></p>
<p class="p3">CSS allows complete and total control over the style of a hypertext document. In my previous websites I have mainly used tables for layouts, and I know now: tables are bad!! bad I tell you! I think I've moved over to CSS layouts permanently.</p>
</div>
</div>
<div id="linkList">
<div id="linkList2">
<div id="lselect">
<h3 class="select">Check the latest.</h3>
<ul>
<li>Latest Additions:</li>
<li><a href="images/digital%20art/art7.jpg">[img]"images/digital%20art/shot7.jpg"[/img]</a></li>
<li><a href="images/digital%20art/art6.jpg">[img]"images/digital%20art/shot6.jpg"[/img]</a></li>
<li><a href="images/digital%20art/art5.jpg">[img]"images/digital%20art/shot5.jpg"[/img]</a></li>
<li><a href="images/digital%20art/art4.jpg">[img]"images/digital%20art/shot4.jpg"[/img]</a></li>
<li><a href="images/digital%20art/art3.jpg">[img]"images/digital%20art/shot3.jpg"[/img]</a></li>
</ul>
</div>
<div id="lmenu">
<ul>
<li><a href="index.htm">Home</a></li>
<li><a href="avatars.htm">Avatars</a></li>
<li><a href="art.htm">Digital Art</a></li>
<li><a href="layouts.htm">Layouts</a></li>
<li><a href="manipulations.htm">Manipulations</a></li>
<li><a href="signatures.htm">Signatures</a></li>
<li><a href="wallpapers.htm">Wallpapers</a></li>
</ul>
</div>
</div>
</div>
</div>
<div id="extraDiv1"></div>
</body>
</html> |
Zou graag wat hulp krijgen, aangezien het voor mensen met lage resoluties niet echt prettig is.
Uplay: Angeloonie - Battletag: Angeloonie#2758 - Steam: Angeloonie