Snarg Posted January 23, 2013 Posted January 23, 2013 I have osC 2.3.3. I am using Modular Front Page 1.3.6. I have also followed the directions here to set the width of my store to be larger. It is set as a fluid grid. The settings in the .css file are as follows: .container_24 { width: 100%; max-width: 1300px; margin-left: auto; margin-right: auto; } What I would like to know is how do I set the text_main area of index.php to stay in it's own section. I have added some images and they are bleeding over into the right column. It ends up looking something like this: http://img541.imageshack.us/img541/5302/maingf.jpg I have tried to control the width of the table with no luck at all. Below is what the table code looks like: <table align="center" border="0" cellpadding="1" cellspacing="1"> <tbody> <tr> <th colspan="3">Winter On The Farm</th> </tr> <tr> <td><img src="images/FrozenTree.jpg" height="240" width="320"/></td> <td><img src="images/LightedGreenhouse.jpg" height="240" width="320"/></td> <td><img src="images/SnowTrain.jpg" height="240" width="320"/></td> </tr> </tbody> </table> Again, setting the table width has had no effect at all. Any help on this would be greatly appreciated. Thank you.
♥14steve14 Posted January 23, 2013 Posted January 23, 2013 Does the situation improve if you make the images widths smaller. REMEMBER BACKUP, BACKUP AND BACKUP
multimixer Posted January 23, 2013 Posted January 23, 2013 Did you add the table structure as content of TEXT_MAIN in the language file (includes/languages/english/index.php)? Or did you add this directly into index.php? Is the table structure within container_24 and within grid_xy? Or did you close the grid system earlier somehow? Is the whole thing within div class="contentText"? It would help to see the page source Wondering why you use a table structure at all? You could use <div class="front_images"> <h2>Winter on the farm</h2> img1 img2 img3 </div> and make sure you have this within the right context (grids etc) You can style then everything in css as you like My community profile | Template system for osCommerce - New: Responsive | Feedback channel
Snarg Posted February 3, 2013 Author Posted February 3, 2013 Sorry so long to respond. For some reason, even though I am following this topic, I'm not notified of a response. Anyway, yes, changing the width of the pictures fixed the issue. Thank you @@14steve14. @@multimixer I'm using tables because that is all I know :( Sadly, my efforts to become an HTML/CSS/PHP guru are hampered by the fact that in addition to my IT duties I also have to run all other aspects of my business. As I become more familiar with how 2.3.3 works I'll try and shift over to the new way of doing things.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.