For the home page, I am trying to have two smaller photos underneath the main photo side by side. I want these photos to be changed easily by the client.
So I created two fragment layouts, one called "left" the other "right".
Then I can use the four photos, two on the left layout and two on the right.
I can then set the top and left padding on the "left" layout and top and right padding on the "right" so that the photos are aligned with the top main photo above them.
Now I set "float: left" on the "left" layout and "float: right" on the "right" layout so that they are next to each other. However when I checked the source code actinic puts the fragments on a table and opens new row and column for each fragment thus placing everything below each other.
How can I achieve this please?
Thank you.
So I created two fragment layouts, one called "left" the other "right".
Then I can use the four photos, two on the left layout and two on the right.
I can then set the top and left padding on the "left" layout and top and right padding on the "right" so that the photos are aligned with the top main photo above them.
Now I set "float: left" on the "left" layout and "float: right" on the "right" layout so that they are next to each other. However when I checked the source code actinic puts the fragments on a table and opens new row and column for each fragment thus placing everything below each other.
How can I achieve this please?
Thank you.
Comment