How do I move my first thumbnail left an and have no space at end on right side?
charisma
0
Newbie Poster
Recommended Answers
Jump to PostIn general, you can float the element to the left and have a right margin of 0px. This depends also on the elements that sorround the target element.
For example, the style applied would be float:left;margin-right:0px.
Jump to PostYes, that "code" is called CSS.
.thumbnails img { height: 80px; border: 4px solid #000; padding: 1px; margin: 0 10px 10px 0;
Without seeing all of your HTML and CSS, its hard to tell you exactly what you need to do. Again the general idea is …
Jump to PostTo move the thumbnails located at the bottom of the screen to default to the left, just add float:left; to this section. It will look like this.
.thumbnails img { height: 80px; border: 4px solid #000; padding: 1px; margin: 0 10px 10px 0; float:left;
What did …
Jump to PostI just checked the page using your link, I don't see a gap or I don't understand what you mean.
Do you see this problem across different browsers. A screenshot of what you see may help.
All 13 Replies
JorgeM
958
Problem Solver
Team Colleague
Featured Poster
charisma
0
Newbie Poster
JorgeM
958
Problem Solver
Team Colleague
Featured Poster
charisma
0
Newbie Poster
JorgeM
958
Problem Solver
Team Colleague
Featured Poster
charisma
0
Newbie Poster
JorgeM
958
Problem Solver
Team Colleague
Featured Poster
charisma
0
Newbie Poster
JorgeM
958
Problem Solver
Team Colleague
Featured Poster
charisma
0
Newbie Poster
JorgeM
958
Problem Solver
Team Colleague
Featured Poster
charisma
0
Newbie Poster
JorgeM
958
Problem Solver
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.