The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Fixing float with a short code. Is there a better way?

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #37200

    I’ve been fixing problems with float using a shortcode [clear]

    function add_clear_div() {
    return "

    It does the job, but is there an easier way? I have the most trouble when I am writing instructions with photos as I did in this page:
    Rug Hooked Footstool


    I am fairly new to web design and don’t know nothing about programing languages to automate behavior.
    But if I may suggest something from purely css and html point of view I would handle this part something like this.

    Wrap the wood pic and seriesbox in “p” tag. Float the seriesbox left without any left-margin
    since you got right-margin already on img and make this:”Review the material list to cut the wood to size.”
    as a header inside of seriesbox (material list).

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.