eduard Posted August 5, 2011 Share Posted August 5, 2011 How is it possible that on my machine I get the image of the english flag and after uploading the HTML file to the web server not on my website (also after refreshing the page!)?How is it possible that the width and the height of both images differ as I refer to the same class in my CSS file? Link to comment Share on other sites More sharing options...
jeffman Posted August 6, 2011 Share Posted August 6, 2011 Is this not the same problem I answered before? Link to comment Share on other sites More sharing options...
eduard Posted August 7, 2011 Author Share Posted August 7, 2011 I still don´t know how can you set 2 classes for 1 div?Are they pseudo-classes? Link to comment Share on other sites More sharing options...
JamesB Posted August 7, 2011 Share Posted August 7, 2011 you can set 2 or more css classes by separating them by a space.html: <div class='blah example another fourth'></div> css: .blah {}.example {}.another {}.fourth {} Link to comment Share on other sites More sharing options...
thescientist Posted August 7, 2011 Share Posted August 7, 2011 How is it possible that on my machine I get the image of the english flag and after uploading the HTML file to the web server not on my website (also after refreshing the page!)?How is it possible that the width and the height of both images differ as I refer to the same class in my CSS file?did you upload the image of the english flag too?As for the classes, anything is possible, but since you didn't post code, it's anybody's guess what you could have done wrong. Link to comment Share on other sites More sharing options...
eduard Posted August 7, 2011 Author Share Posted August 7, 2011 did you upload the image of the english flag too?As for the classes, anything is possible, but since you didn't post code, it's anybody's guess what you could have done wrong.No, I didn´t upload the image of the english flag!I´m going to try now the previous reply! Link to comment Share on other sites More sharing options...
eduard Posted August 8, 2011 Author Share Posted August 8, 2011 you can set 2 or more css classes by separating them by a space.html:<div class='blah example another fourth'></div> css: .blah {}.example {}.another {}.fourth {} Thanks very much! Link to comment Share on other sites More sharing options...
eduard Posted August 8, 2011 Author Share Posted August 8, 2011 Solved! Link to comment Share on other sites More sharing options...
thescientist Posted August 8, 2011 Share Posted August 8, 2011 No, I didn´t upload the image of the english flag!I´m going to try now the previous reply!well, that makes sense why it wouldn't show up, right? Link to comment Share on other sites More sharing options...
eduard Posted August 8, 2011 Author Share Posted August 8, 2011 well, that makes sense why it wouldn't show up, right?However, I´m not totally satiesfied! The english flag is a little bit bigger as the spanish flag!Next problem I want to solve! How do I get a border on the left side of my foto (vertically?)? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.